求助这段代码不能通过网站的编译

P1425 小鱼的游泳时间

@[迷雾慎行](/space/show?uid=122512) 我看你的评测记录是WA不是CE啊..
by ouuan @ 2018-08-15 21:02:29


输出 `运行成功` 耗时 0ms 内存2066kb
by Ezios @ 2018-08-15 21:03:12


@[迷雾慎行](/space/show?uid=122512) ``` int min=/****/; ``` 应该是这里挂了
by p_b_p_b @ 2018-08-15 21:16:02


#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 Joe_2007 @ 2018-08-25 11:51:51


@[迷雾慎行](/space/show?uid=122512) #include<iostream> using namespace std; int main() { long long a,b,c,d,z; cin>>a>>b>>c>>d; z=c*60+d-a*60-b; cout<<z/60<<" "<<z%60; return 0; }
by 余正轩 @ 2018-08-29 21:38:12


|