| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 378258 | 章天泽 | 【C1-5】修理钟表 | C++ | 解答错误 | 0 | 6 MS | 252 KB | 284 | 2026-02-09 15:36:37 |
#include<iostream> using namespace std; int main(){ int m1,h1,s1,m2,h2,s2; cin>>h1>>m1>>s1; cin>>h2>>m2>>s2; int t1=h1*3600+m1*60+s1; int t2=h2*3600+m2*60+s2; int t=t2-t1; int h=t/3600; int m=t%3600/60; int s=t%60; cout<<h<<" "<<m<<" "<<s<<endl; return 0; }