1 solutions
Information
- ID
- 1266
- Time
- 1000ms
- Memory
- 64MiB
- Difficulty
- 10
- Tags
- # Submissions
- 2
- Accepted
- 1
- Uploaded By
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int m=n/3600; int x=n%3600; int y=x/60; int s=x%60; cout<<setw(2)<<setfill('0')<<m<<":"<<setw(2)<<setfill('0')<<y<<":"<<setw(2)<<setfill('0')<<s; return 0; }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.