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-12-16 08:39:25
#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;
}
2024-12-16 08:35:38


Last edit: 2024-12-16 08:36:51
2024-11-26 19:11:49
#include <iostream>
using namespace std;

int main() {
int days, hours;
cout << "Хоног, цаг оруулна уу: ";
cin >> days >> hours;
int total_hours = days * 24 + hours;
cout << "Нийт цаг: " << total_hours << endl;

return 0;
}
2024-11-13 06:44:11
#include <iostream>
using namespace std;
int main() {
int s, m, t, c, h, n;
cin>>t;
h=t/24;
s=t%24;
cout<<h<<" "<<s;
return 0;
}
2024-11-13 03:04:17
zail tsaashaa
2024-10-29 03:52:34
huulcaj bga bol zail
2024-10-21 11:58:47
hi black niggas
2024-10-19 15:15:51
hi
2024-10-02 07:02:22
tanr zuv yma huulac
2024-06-11 07:20:28
#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;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.