我来帮你`Markdown`一下
```cpp
include<iostream>
include<cstdio>
using namespace std;
int main()
{
int a,b,c,d,e,f,i,j;
cin>>a>>b;
i=60a+b;
cin>>c>>d;
j=60c+d;
if(d<<b)
{
e=c-a-1;
f=60+d-b;
cout<<e<<" "<<f<<endl;
}
else
{
e=c-a;
f=d-b;
cout<<e<<" "<<f<<endl;
}
}
```
by 初音Miku @ 2018-07-01 21:40:37
em?60a和60c是什么?
by VenusM1nT @ 2018-07-01 21:44:57
```cpp
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int a,b,c,d,e,f,i,j;
cin>>a>>b;
i=60*a+b;
cin>>c>>d;
j=60*c+d;
if(d<<b)
{
e=c-a-1;
f=60+d-b;
cout<<e<<" "<<f<<endl;
}
else
{
e=c-a;
f=d-b;
cout<<e<<" "<<f<<endl;
}
}
```
by 24K纯金 @ 2018-07-01 21:58:00
原版就是这样了
by 24K纯金 @ 2018-07-01 21:58:18
@[24K纯金](/space/show?uid=6703) 你的大于号,小于号都多加了
by LCuter @ 2018-07-01 22:11:05
!
by 24K纯金 @ 2018-07-01 22:13:45
谢谢大佬
by 24K纯金 @ 2018-07-01 22:13:54
#include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
cin>>a>>b>>c>>d;
int x=c-a,y=d-b;
if(y<0){x--;y+=60;}
cout<<x<<" "<<y;
return 0;
}
by ctz20070928 @ 2018-07-26 22:34:02
结论:巨佬都喜欢在水题讨论里~~装*~~
by Celestial_Scarlet @ 2018-08-07 20:11:38