```cpp
#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e=0,f=0;
cin>>a>>b>>c>>d;
for(int i=1;i<=c-a;i++)
{
e=c-a;
f=d-b;
if(d-b<0)
{
e=e-1;
f=60-b+d;
}
}
cout<<e<<" "<<f;
return 0;
}
```
by 市场花园行动 @ 2017-10-12 20:22:11
你那个“f”,“g”处理的貌似有问题....
by 市场花园行动 @ 2017-10-12 20:23:30
@[InsaneD](/space/show?uid=61242)
by 市场花园行动 @ 2017-10-12 20:24:26
你连续输出了g与f,系统认定你输出了一个数据
by zdx1031705564 @ 2017-10-15 15:30:26
你读入f和g干嘛
by A星际穿越 @ 2017-10-15 20:51:29
后来解决了 谢谢
by InsaneD @ 2017-10-27 21:26:24