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

RGB7306 - Тоон дахь их цифр

Өгөгдсөн тооны их цифрийг ол. 

Input

Бүхэл тоо өгөгдөнө.

Output

Их цифр.

Example

Input:

4632
Output:
6

Нэмсэн:Bataa
Огноо:2013-01-09
Хугацааны хязгаарлалт: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
2025-06-28 06:14:18
odooni huuhdud


2025-06-28 06:09:27
zolhuu gomo proof bga
2025-06-28 06:08:51
soyongiikh gomo
2025-06-28 06:07:06
aa

Last edit: 2025-06-28 06:10:19
2025-04-16 10:38:19
#include <bits/stdc++.h>
using namespace std;
int main () {
int n,s,i;
cin>>n;
s=0;
for (int i; n>0; i=1){
if (s<n%10)
s=n%10;
n=n/10;
}
cout<<s;
}// tsogtooooooooooooooooooohuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
2025-02-19 02:52:31
////

Last edit: 2025-02-19 02:52:52
2025-02-04 02:39:35
z

Last edit: 2025-02-04 02:39:45
2025-01-23 12:46:20
#include<iostream>
using namespace std;
int main ()
{
int a,b;
b=1;
cin>>a;
while(a>0){

if(b<a%10){
b=a%10;
}
cout<<b<<" ";
a/=10;
}
cout<<b;

}//zzo amjilt
2024-12-25 07:08:11
snu anduudaa
2024-12-04 13:06:57
ryuu bol gci gj hein
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.