提交时间:2025-03-16 17:07:41
运行 ID: 313091
#include<iostream> using namespace std; int main(){ int a,b,c,d,e,f,t1,t2,t; cin>>a>>b>>c>>d; t1=a*60+b; t2=c*60+d; t=t2-t1; e=t/60; f=t%60; cout<<e<<" "<<f; return 0; }