提交时间:2026-02-11 16:14:08

运行 ID: 430375

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