提交时间:2024-09-01 13:37:50
运行 ID: 50605
#inclde<bits/stdc++.h; using namespace std; int main() { int h'm's'k'sum; cin>>>h>>m>>s; cin>>k; sum=h*60+m*60+s+k; h=sum/3600; sum=sum%3600; m=sum/60; s=sum%60; cout<<h<<" "<<m<<" "<<s; }