提交时间:2024-07-02 18:54:17
运行 ID: 49293
#inclode<bits/stds++.h> using namespace std; int main() { int h,m,s,k; cin>>h>>m>>s>>k; s=s+k; m=m+s/60; s=s%60; h=h+m/60; m=m%60; cout<<h<<endl; cout<<m<<endl; cout<<s<<endl; return 0; }