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

RGB7307 - Тоон дахь бага цифр

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

Input

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

Output

Бага цифр

Example

Input:
9649

Output:
4

Нэмсэн: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
2019-10-06 08:55:35
#include<cstdio>
int main(){
int n;
scanf("%d",&n);
int s=10;
while(n>10){
if(n%10<s){
s=n%10;
}
n/=10
}
printf("%d", s)
}
2019-10-06 08:46:21
hahahahahaha
lol
gg
2019-10-06 08:45:51
lol
2019-10-06 08:45:34
#include<cstdio>
int main(){
int n;
scanf("%d",&n);
int s=10;
while(n>10){
if(n%10<s){
s=n%10;
}
n/=10
}
printf("%d", s)
}

Last edit: 2019-10-06 08:55:52
2019-10-05 11:51:10
ymr aimar bodlogo ve

2019-03-06 09:01:40
.
2019-02-21 05:29:25






Last edit: 2019-02-21 05:29:45
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.