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.|

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
2024-02-26 03:11:23
humuus yamr aimr huuldgiin be?
2024-02-26 03:11:09
humuus yamr aimr huuldgiin be?
2024-02-26 03:11:09
humuus yamr aimr huuldgiin be?
2024-01-23 07:29:24
int a,b,c;
scanf("%d %d",&a,&b);
printf("%d\n",a*24+b);
2024-01-08 04:59:05
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,s,p,c,e,m,hour,s0,s1,s2,day,hour1,hour2;
cin>>day>>hour; //scanf("%d",&);
hour2=day*24;
hour1=hour+hour2;
cout<<hour1;//printf("%d %d %d",t,m,s);
return 0;
}
2023-11-27 06:44:49
#include<bits/stdc++.h>
using namespace std;
int main() {
int d, n ,a[1000];
cin >> n ;
for(int i=1 ; i<=n ; i++) {
cin >> a[i];
}
d=a[n];
for(int j=n ; j>=2 ; j--) {
a[j]=a[j-1];
}
a[1]=d;
for(int i=1 ; i<=n ; i++) {
cout << a[i] << " ";
}
return 0;
}
2023-09-25 17:28:46
7-1 gay tengis 7-1 saraanad sn
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b;
c=a*24+b;
cout<<c<<endl;
}

Last edit: 2023-09-25 17:31:29
2022-11-09 02:55:36
#include <iostream>
using namespace std;
int main () {
int a,b,c;
cin >> a >>b;
c=a*24+b;
cout<< c;
}
2022-10-13 04:41:17
#include <iostream>
using namespace std;
int main () {
int a,b,c;
cin >> a >>b;
c=a*24+b;
cout<< c;
}
2022-08-17 13:26:08
module Main where

solve :: [Int] -> Int
solve input = 24*a+b
where (a:b:_) = input

main = getLine >>= print . solve . map read . words
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.