Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7011 - Минут секунд |
Өгөгдсөн секундыг минут секунд болго.
Input
Секунд Int тоон утгаар өгөгдөнө.
Output
Минут секундыг зайгаар тусгаарлан хэвлэ.
Example
Input:
200
Output:
3 20
Нэмсэн: | Bataa |
Огноо: | 2011-05-13 |
Хугацааны хязгаарлалт: | 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
|
||||||||||||||
2013-05-29 00:27:05 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:05 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:05 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:05 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:04 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:04 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:04 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:04 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:04 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |
||||||||||||||
2013-05-29 00:27:03 mendeeenhee
#include<stdio.h> #include<stdlib.h> main() { freopen("a.in","r",stdin); freopen("a.out","w",stdout); int s,h=0,a; scanf("%d",&s); while (s>0); h=h+s%60; s=a/60; printf("%d %d",s,h); system("pause"); } |