提交时间:2020-08-22 10:10:57
运行 ID: 5993
#include <cstdio> #include <iostream> using namespace std; int main(){ int a, b, c, d, e ,f; int startMin, endMin, min; cin >> a >> b >> c >> d; startMin = a*60+b; endMin = c*60+d; min = endMin - startMin; e = min/60; f = min%60; cout << e << " " << f; return 0; }