返回小组 开始 2026-05-21 13:40:00

北清初二期末测试

结束 2026-05-21 17:20:00
Contest is over.
当前 2026-05-23 17:48:12

我爱林思彤

include

using namespace std;

int main() {

int h, s, m, t;
cin >> h >> m >> s >> t;
long long a = h * 3600 + m * 60 + s + t;
a %= 86400;
int h1 = a / 3600;
int f = a % 3600 / 60;
int s1 = a % 3600 % 60;
cout << h1 << " " << f << " " << s1;
return 0;

}


0923bmy  •  2天前

比赛已结束。