4 solutions
Information
- ID
- 1329
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 4
- Tags
- # Submissions
- 77
- Accepted
- 38
- Uploaded By
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d,e,f,g,h; double i; cin>>a>>b>>c>>d; a=a60; c=c60; e=a+b; f=c+d; g=f-e; h=g/60; i=g%60; cout<<h<<" "<<i; return 0; }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.