提交时间:2024-09-01 13:15:28
运行 ID: 50598
#include<bits/stdc++.h> using namespace std; int main(){ int h,m,s,k; cin>>h>>m>>s>>k; s+=k; m=m+s/60; s=s%60; h=h+m/60; m=m%60; cout<<h<<" "<<m<<" "<<s; return 0; }