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

RGB7104 - 4 тооны бага

Өгөгдсөн 4 тооны багыг ол.

Input

Нэг мөрөнд Int төрлийн 4 тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

Бага тоо.

Example

Input:
3 2 1  4
Output: 1

Нэмсэн:Bataa
Огноо:2011-05-23
Хугацааны хязгаарлалт: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
2020-01-18 08:05:27
1

Last edit: 2020-01-18 08:06:03
2020-01-16 16:00:13
enxtaivan_19
10101212 (aas bodlogo haraarai
2019-10-23 08:31:38
gulugnuudee/ bi bika bn
2019-10-08 04:34:20
#include <iostream>
using namespace std;
int main(){
int x,y,n,m;
cin>>x>>y>>n>>m;
if (x<y && x<n && x<m){
cout<<x;
}
else{
if (y<x && y<n && y<m){
cout<<y;
}
else{
if (n<y && n<x && n<m){
cout<<n;
}
else{
cout<<m;
}
}
}
}
2019-10-07 09:05:22
hen negen ni c++ heleer bodood baihdaa

2019-10-06 08:15:18
#include <stdio.h>
main(){
int a,b,c,d,e,f,h;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
scanf("%d",&d);
if(a>b)f=b;
else f=a;
if(f>c)e=c;
else e=f;
if(e>d)h=d;
else h=e;
printf("%d",h);
return 0;
} ez hha but i can
2019-10-05 09:47:57
#include <stdio.h>
main(){
int a,b,c,d,e,f,h;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
scanf("%d",&d);
if(a>b)f=b;
else f=a;
if(f>c)e=c;
else e=f;
if(e>d)h=d;
else h=e;
printf("%d",h);
return 0;
}
2019-04-04 09:47:35
hongoroo zow bodchood dursagdaache
2019-04-04 05:57:03
#include <stdio.h>
main ()
{
int a,b,c,d,e;
scanf("%d %d %d %d",&a,&b,&c,&d);
if(a>b) e=b;
if(a<b) e=a;
if(a>c) e=c;
if(a>d) e=d;
printf("%d",e);
}
2019-03-15 07:59:57
#include<stdio.h>
int main(){
int a,b,c,d,e,g,l,j;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
scanf("%d",&d);
if(a<b)j=a;
else j=b;
if(j<c)e=j;
else e=c;
if(e<d)l=e;
else l=d;
printf("%d",l);

} ez katka(subscribe ezey gaming)
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.