Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

RGB7012 - Цаг минут секунд

Өгөгдсөн секундыг цаг минут секунд болго.

Input

Секунд Int төрлийн тоон утгаар өгөгдөнө.

Output

Цаг, минут, секундууд хоорондоо 1 зайгаар тусгаарлагдан хэвлэгдэнэ. Цаг минут руу шилжихгүй бол 0 хэвлэнэ.

Example

Input:
3612
Output: 1 0 12

Added by:Bataa
Date:2011-05-15
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP C++ 4.3.2 CPP CPP14 JULIA PYPY3

hide comments
2024-10-21 11:25:00
#include<iostream>
using namespace std;
int main(){
int n,a,b,c;
cin>>n;
a=n/3600;
b=n/60%60;
c=n%60;
cout<<a<<" "<<b<<" "<<c;
return 0;
}


Last edit: 2024-10-21 11:33:29
2023-10-17 09:48:24
we0oiwiwoiw
2022-04-26 13:47:54
nigga ballz
2021-10-01 03:10:47
i cant do this becuase i dont know the bloxy game .
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.