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
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
2022-03-21 08:58:02


Last edit: 2022-03-21 08:58:14
2021-10-04 09:28:57
#include <iostream>
using namespace std;
int main () {
int a,b,c;
cin >> a >>b;
c=a*24+b;
cout<< c;
}
2020-10-31 04:02:51
#include <iostream>
using namespace std;
int main () {
int x,y;
cin>>x>>y;
cout<<24*x+y;
} hahaah gendee ni bn
2020-01-23 05:14:21
#include<stdio.h>
main()
{
int a,b,d,c;
scanf("%d %d",&a,&b);
d=a*24+b;
printf("%d",d);
}
2019-10-31 05:51:47
bi bicheeguee buynaa bichsen


Last edit: 2019-10-31 05:53:35
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.