1 solutions
-
0
C :
#include<stdio.h> int main() { long long N,H,M; scanf("%lld",&N); M = N / 60; N %= 60; H = M / 60; M %= 60; printf("%lld:%lld:%lld", H,M,N); return 0; }C++ :
#include<cstdio> using namespace std; int main() { int N; scanf("%d",&N); printf("%d:%d:%d",N/3600,N%3600/60,N%60); return 0; }
- 1
Information
- ID
- 640
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 3
- Tags
- # Submissions
- 87
- Accepted
- 48
- Uploaded By