提交时间:2020-08-22 09:55:03

运行 ID: 5984

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