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

Нэмсэн:Bataa
Огноо:2011-05-15
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2023-10-20 08:20:51
Enerel want 9e tall boy
2023-10-05 05:58:20
dont copy
2023-10-02 06:48:31
#include <bits/stdc++.h>
using namespace std;

int main()
{
int a, b, c, d;
cin>>a;
d=a/3600;
b=a/60%60;
c=a%60;
cout<<d<<" "<<b<<" "<<c<<endl;
return 0;
}
2023-09-25 17:21:21
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c<<endl;
}
2023-09-23 17:37:06
seconds = int(input())
minutes = seconds // 60
remaining_seconds = seconds % 60
hours = minutes // 60
remaining_minutes = minutes % 60
print (hours , remaining_minutes , remaining_seconds )
iim amrhnnn
2023-08-21 05:16:17
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c;
return 0;
}
2023-08-21 05:16:17
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c;
return 0;
}
2023-08-21 05:16:17
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c;
return 0;
}
2023-08-21 05:16:16
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c;
return 0;
}
2023-08-21 05:15:44
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,d,x,y;
cin>>a;
b=a/3600;
d=a%3600/60;
c=a%60;
cout<<b<<" "<<d<<" "<<c;
return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.