Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
49295 | zhouxinglin | 202406-GESP-一级-休息时间 | C++ | Compile Error | 0 MS | 0 KB | 219 | 2024-07-02 18:55:47 |
#include<bits/stdc++.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; return 0; }