|
- #include <cstdio>
- #include <algorithm>
- #include <iostream>
- #include <cmath>
- #include <cstring>
- #include <map>
- #include <string>
- #include <vector>
- #include <queue>
- using namespace std;
- int main()
- {
- int n,m,a,b;
- scanf("%d%d%d%d",&a,&b,&n,&m);
- int s=n-a,t=m-b;
- if(t<0) t+=60,s--;
- printf("%d %d",s,t);
- return 0;
- }
复制代码 |
|