Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
4921 王冯俊 时分秒转换 C++ Accepted 100 0 MS 248 KB 172 2020-07-25 19:08:26

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int m,f,s; cin>>m; s=m/3600; f=m/60-s*60; m=m-(f*60+s*3600); cout<<s<<":"<<f<<":"<<m; return 0; }


Judgement Protocol: