Files
python/LuoGu/RuMen/P1425.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

15 lines
261 B
C++

#include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int x = c - a, y = d - b;
if (y < 0) {
x = x - 1;
y = y + 60;
}
cout << x << " " << y << endl;
return 0;
}