Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7016 - Хоног цаг -> цаг |
Өгөгдсөн хоног, цагийг цагт шилжүүл.
Input
Хоног, цаг Int төрлөөр нэг зайгаар тусгаарлагдан өгөгдөнө.
Output
Цаг гарна.
Example
Input:
2 5
Output:
53
Нэмсэн: | Bataa |
Огноо: | 2011-05-19 |
Хугацааны хязгаарлалт: | 0.400s |
Эх кодын хэмжээний хязгаарлалт: | 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
|
||||||||
2019-09-16 06:18:46
bn |
||||||||
2019-03-26 10:31:22
#include<stdio.h> main() { int a,b,d,c; scanf("%d %d",&a,&b); d=a*24+b; printf("%d",d); } |
||||||||
2019-02-25 05:04:26
amjilt #include<stdio.h> #include<stdlib.h> main() { int tsag,honog,n; scanf("%d %d",&honog, &tsag); n=honog*24+tsag; printf("%d",n); system("pause"); } |
||||||||
2018-01-06 08:50:05
#include<stdio.h> #include<stdlib.h> main() { int t,h,t1; scanf("%d %d",&h, &t); t1=h*24+t; printf("%d",t1); system("pause"); } |
||||||||
2016-12-05 09:56:14
shit |
||||||||
2015-10-29 17:39:10
#include<stdio.h> main() {int a,b,x; scanf("%d%d",&a,&b); x=a*24+b; printf("%d %d",x); getch();} ene bish yumuu |
||||||||
2015-01-13 08:10:32 unubold
#include<stdio.h> #include<stdlib.h> main() { int t,h,t1; scanf("%d %d",&h, &t); t1=h*24+t; printf("%d",t1); system("pause"); } |
||||||||
2013-12-16 09:42:47 ConquesT/T
#include <iostream> using namespace std; int main () { int x,y; cin>>x>>y; cout<<24*x+y; } |
||||||||
2013-10-28 02:59:55 Todgerel
#include<stdio.h> main() { //freopen("in.in","r",stdin); //freopen("out.out","w",stdout); int t,h,ts; scanf("%d %d",&h, &t); ts=h*24+t; printf("%d",ts); } |
||||||||
2013-10-27 13:19:05 zolbootugs
bilguuntugs bna u? |