提交时间:2021-12-18 15:12:59

运行 ID: 21323

#include <iostream> using namespace std; int main () { int a,b,c,d,h,t,m; cin>>a>>b>>c>>d; t=(c*60+d)-(a*60+b); h=t/60; m=t-t/60*60; cout<<h<<" "<<m; return 0; }