#include<iostream>
using namespace std;
int main()
{int a,b,c,d,e,f;
cin>>a>>b>>c>>d;
if((d-b)<0)
{e=c-a-1;
f=60-b+d;}
else
{e=c-a;
f=d-b;}
if(f>=60)
{e++;
f-=60;}
cout<<e<<" "<<f<<endl;
return 0;
}
小鱼的游泳时间
于 2018-01-24 00:02:14 首次发布