Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
443705 任晨熙 【C1-5】修理钟表 C++ 通过 100 1 MS 252 KB 339 2026-06-06 18:39:21

Tests(2/2):


#include <iostream> using namespace std; int main() { long long h1,m1,s1,h2,m2,s2; cin>>h1>>m1>>s1; cin>>h2>>m2>>s2; long long t=h1*3600+m1*60+s1+h2*3600+m2*60+s2; t%=86400; long long h=t/3600; t%=3600; long long m=t/60; long long s=t%60; cout<<h<<" "<<m<<" "<<s; return 0; }


测评信息: