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
2024-03-07 02:07:30
SPOJ IS MAKING ME SUICIDAL
2024-01-26 05:34:11
#python (3.9.5)
the_string = input()
a, b, c, d = the_string.split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
if a<b and a<c and a<d:
print(a)
elif b<c and b<a and b<d:
print(b)
elif c<d and c<b and c<a:
print(c)
else:
print (d)
2024-01-23 09:54:03
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2023-11-29 07:35:01
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss ssssssssssssssssssssssssssssssssssssssssssssssssss ssssssssssssssssssssssssssssssssssssssssssssssss
sssssssssssssssssssssssssssssssssss
2023-11-19 22:59:44
a

Last edit: 2023-11-19 23:00:32
2023-11-06 17:09:39
F*CK YOU SPOJ

Last edit: 2023-11-06 17:10:43
2023-10-17 05:02:43
#include <iostream>
using namespace std;

int main() {

int a, b, c, n, k;
cin >> a >> b >> c >> k;
if ( a < b & a < c & a < k) n=a;
else if ( b < a & b < c & b < k) n=b;
else if ( c < a & c < b & c < k) n=c;
else if (k < a & k < b & k < c) n=k;
cout << n << endl;

return 0;
}
2023-10-12 10:44:11
huulaarai guys
#include <iostream>
using namespace std;

int main() {

int a, b, c, n, k;
cin >> a >> b >> c >> k;
if ( a < b & a < c & a < k) n=a;
else if ( b < a & b < c & b < k) n=b;
else if ( c < a & c < b & c < k) n=c;
else if (k < a & k < b & k < c) n=k;
cout << n << endl;

return 0;
}
2023-09-29 08:57:33
BALL
2023-05-29 07:04:55
#include <iostream>
using namespace std;

int main() {
int a, s, c, e;
cin>>a>>s>>c>>e;
if(a<s and a<c and a<e) s=a;
if (c<s and c<a and c<e) s=c;
if (e<s and e<a and e<c) s=c;
cout<<s;
return 0;
}
.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.