提交时间:2025-07-07 15:38:45

运行 ID: 328830

#include<iostream> using namespace std; int main(){ int a,b,c,d,e,f,t1,t2; cin>>a>>b>>c>>d; t1=a*60+b; t2=c*60+d; e=(t2-t1)/60; f=(t2-t1)%60; cout<<e<<" "<<f; return 0; }