2 条题解
- 1
信息
- ID
- 727
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 609
- 已通过
- 351
- 上传者
#include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
cin>>a;
cin>>b;
cin>>c;
cin>>d;
if (a==c)
cout<<d-b;
else
cout<<(c-a-1)*60+d+(60-b);
return 0;
}