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

RGB7015 - Хоног цаг

Өгөгдсөн цагийг хоног цагт шилжүүл.

Input

Цаг Int төрлөөр өгөгдөнө.

Output

Хоног, цаг нэг мөрөнд зайгаар тусгаарлагдан хэвлэгдэнэ.

Example

Input:
44
Output:
1 20

Нэмсэн:Bataa
Огноо:2011-05-15
Хугацааны хязгаарлалт: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
2023-04-18 10:13:28
oooooooooooooonnnhhhh



2023-03-21 06:24:46
#include <stdio.h>
#include <math.h>
int main() {
int a,b,c;
scanf("%d" , &a);
b=a/24;
c=a%24;
printf("%d %d" ,b,c);

return 0;
}
haluun maruujin
2023-03-13 05:00:12

son of bitch
2023-03-11 06:18:22
int a, b, c;
cin>> a;
b=a/24;
c=a%24;
cout <<b<<" "<<c;
2023-02-18 12:28:58
spoj alternative https://bit.ly/3IwukPk
2022-12-26 15:42:52
#include<iostream>
using namespace std;
main()
{
int a, b, i=0;
cin>>a;
while(a>24)
{
a=a-24;
i++;
}
b=i;

cout<<b<<" "<<a;

}
...
2022-10-13 04:40:52
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a;
b=a/24;
c=a%24;
cout<<b<<" "<<c<<endl;
return 0;
}
2022-09-15 09:01:49
L
2022-05-20 02:52:40
hatnaa nuub and so ez



2022-04-04 08:17:53
haha
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.