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
2022-11-10 04:31:36
#include <iostream>

using namespace std;

int main(){
int a,b,c, miya;
cin >> a >> b >> c ;
miya = a;
if ( miya > b ) {
miya = b;
}
if ( miya > c ) {
miya = c;
}
cout << miya;
return 0;
}
2022-11-01 09:04:00
#include<bits/stdc++.h>
using namespace std;

main(){
int a,b,c,d,max;
cin>>a>>b>>c>>d;
max=b;
if(a<max)max=a;
if(c<max)max=c;
if(d<max)max=d;
cout<<max;
}

huul
2022-10-31 06:46:59
1

Last edit: 2022-10-31 06:47:30
2022-10-15 03:44:45
chamd heregteig bi mednee
#include<bits/stdc++.h>
using namespace std;
main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(b>a)
if (a>c)
if (c>d)
cout<<d;
else cout<<c;
else
if (a>d)
cout<<d;
else cout<<a;
else
if (b>c)
if (c>d)
cout<<d;
else cout<<c;
else
if(b>d)
cout<<d;
else cout<<b;


}
2022-10-12 09:59:16
#include <iostream>
using namespace std;

int main() {

int a, b, c, d;
cin >> a >> b >> c >> d;

if ( a < b && a< c && a<d){

cout << a;
}

if ( b < a && b < c && b < d){

cout << b;
}

if ( c < a && c < b && c < d){

cout << c;
}

if ( d < a && d < b && d < c){
cout << d;
}
return 0;
}
huul222
2022-10-03 05:31:31
#include <bits/stdc++.h>
using namespace std;
int main(){
2022-06-16 13:29:31
include<stdio.h>
int t,m,s,d,a;
int main()
{
scanf("%d %d", &t, &m);
s=t*12;
d=m%12;
a=t+m;
printf("%d", a);
return 0;
} huulaarai
2022-05-17 07:30:37
#include <iostream>

using namespace std;

int main(){
int a,b,c, miya;
cin >> a >> b >> c ;
miya = a;
if ( miya > b ) {
miya = b;
}
if ( miya > c ) {
miya = c;
}
cout << miya;
return 0;
}geggeee
2022-04-14 13:25:51
alan dartsag ve yaadag te homiess call me 99696969 avku bol ene dugarlu 69 gej sms yavul!
2022-04-14 13:24:59
alan badmaaaaa
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.