austin2010 2023-10-15 15:57:02 4 返回题目
#include<bits/stdc++.h>
using namespace std;
int h1,h2,m1,m2,t1,t2;
int main()
{
cin.tie(0); cout.tie(0); cin>>h1>>m1>>h2>>m2; t1=h1*60+m1,t2=h2*60+m2; cout<<(t2-t1)/60<<' '<<(t2-t1)%60; return 0;
}