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
2024-04-17 09:51:54
#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-02-21 09:28:03
#include <iostream>
using namespace std;

int main() {
int a, b, c;
cin>>a;
b=a/24;
c=a-24;
cout<<b<< " " <<c;
return 0;
}
2024-02-13 07:46:37






























2024-02-07 03:01:36
hate this shitty life
2023-12-18 05:14:04


Last edit: 2023-12-18 05:14:19
2023-11-23 06:44:21
i like furry hairy balls
2023-09-25 17:30:32
7-1 iin gomo tengis 7-1 saraanad sn
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a;
b=a/24;
c=a%24;
cout<<b<<" "<<c<<endl;
}
2023-06-07 09:49:14
L
2023-05-29 07:03:41
#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;
}
.
2023-04-18 10:13:28
oooooooooooooonnnhhhh



© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.