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

RGB7106 - Үржвэр 5

Өгөгдсөн 4 тооны 5-аас бага тоонуудын үржвэрийг ол. 5-аас бага тоо ядаж 1 байгаа.

Input

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

Output

Үржвэр

Example

Input:
3 6 2 4

Output:
24

Нэмсэн:Bataa
Огноо:2011-05-24
Хугацааны хязгаарлалт: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-11-22 04:36:55
#include<bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, i;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
i = 1;
if (a < 5)
i = i * a;
if (b < 5)
i = i * b;
if (c < 5)
i = i * c;
if (d < 5)
i = i * d;
cout << i << endl;
}

2024-11-12 06:32:56
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣴⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣰⣾⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢠⡿⠋⠉⠉⠛⠛⠛⠋⠉⠙⢿⡆⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣼⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣧⠀⠀⠀⠀⠀⠀
⡰⠉⠉⠁⠉⡙⠹⢠⢾⣛⠛⢶⢀⡶⠛⣛⠳⡄⡏⢋⠉⠉⠉⠉⢢
⢹⠶⠶⠶⣾⠡⣾⠈⠸⡿⠷⠀⠀⠀⢾⣿⠇⠁⡶⡌⢷⠶⠶⠶⡏
⢸⠀⠀⠀⠆⠀⢻⡀⠀⠀⡀⠀⠀⠀⢀⢀⡀⠀⡟⠀⠸⡀⠀⠀⡇
⢸⠀⠀⢸⠀⠀⠈⡇⣠⠒⠓⠤⣀⠤⠘⠀⡘⢰⠃⠀⠀⡇⠀⠀⡇
⢸⠀⠀⡎⠀⠀⠀⢻⠀⠙⣶⣶⣒⣶⣶⠋⢀⡏⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⡇⠀⠀⠀⠘⣧⡀⠈⠿⣿⡿⠁⢀⢮⠃⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⡇⠀⠀⠀⠀⢰⠑⠄⣀⠀⢀⡠⠊⡌⠀⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⠘⢄⠀⠀⠀⠀⠆⠀⠀⠀⠀⠀⠰⠀⠀⠀⠀⡠⠃⠀⠀⡇
⠈⠦⣀⣔⠂⠋⠒⠲⠶⠾⠤⠤⠤⠤⠤⠷⠶⠖⠒⠉⠒⢢⣀⠴⠃
⠀⠀⠀⠅⠉⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠊⠉⠉⠉⠉⠉⠨⡀⠀⠀
⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠁⠀⠀
⠀⠀⠀⠳⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡜⠀⠀⠀
⠀⠀⠀⠀⠱⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠎⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠈⠢⢄⣀⡀⢀⠀⡀⢀⠀⣀⣀⡠⠔⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⡌⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠸⠤⠠⠀⢀⣀⣀⣀⠀⠀⠤⠤⠖⠀⠀⠀

⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣴⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣰⣾⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢠⡿⠋⠉⠉⠛⠛⠛⠋⠉⠙⢿⡆⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣼⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣧⠀⠀⠀⠀⠀⠀
⡰⠉⠉⠁⠉⡙⠹⢠⢾⣛⠛⢶⢀⡶⠛⣛⠳⡄⡏⢋⠉⠉⠉⠉⢢
⢹⠶⠶⠶⣾⠡⣾⠈⠸⡿⠷⠀⠀⠀⢾⣿⠇⠁⡶⡌⢷⠶⠶⠶⡏
⢸⠀⠀⠀⠆⠀⢻⡀⠀⠀⡀⠀⠀⠀⢀⢀⡀⠀⡟⠀⠸⡀⠀⠀⡇
⢸⠀⠀⢸⠀⠀⠈⡇⣠⠒⠓⠤⣀⠤⠘⠀⡘⢰⠃⠀⠀⡇⠀⠀⡇
⢸⠀⠀⡎⠀⠀⠀⢻⠀⠙⣶⣶⣒⣶⣶⠋⢀⡏⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⡇⠀⠀⠀⠘⣧⡀⠈⠿⣿⡿⠁⢀⢮⠃⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⡇⠀⠀⠀⠀⢰⠑⠄⣀⠀⢀⡠⠊⡌⠀⠀⠀⠀⢸⠀⠀⡇
⢸⠀⠀⠘⢄⠀⠀⠀⠀⠆⠀⠀⠀⠀⠀⠰⠀⠀⠀⠀⡠⠃⠀⠀⡇
⠈⠦⣀⣔⠂⠋⠒⠲⠶⠾⠤⠤⠤⠤⠤⠷⠶⠖⠒⠉⠒⢢⣀⠴⠃
⠀⠀⠀⠅⠉⠉⠉⠉⠉⠒⠒⠒⠒⠒⠒⠊⠉⠉⠉⠉⠉⠨⡀⠀⠀
⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠁⠀⠀
⠀⠀⠀⠳⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡜⠀⠀⠀
⠀⠀⠀⠀⠱⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠎⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠈⠢⢄⣀⡀⢀⠀⡀⢀⠀⣀⣀⡠⠔⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⡌⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠸⠤⠠⠀⢀⣀⣀⣀⠀⠀⠤⠤⠖⠀⠀⠀


2024-11-12 05:40:05
buynaa ah ni bn huul 222222
#include <iostream>
using namespace std;
int main()
{
int a,b,c,p,i;
cin>>c>>a>>b>>p;
i=1;
if(c<5) i=i*c;
if(a<5) i=i*a;
if(b<5) i=i*b;
if(p<5) i=i*p;

cout<<i;


}
2024-10-22 12:18:55
#include "stdio.h"
int main ()
{
int a,b,c,d,g;
scanf("%d %d %d %d" ,&a,&b,&c,&d);
g=1;
if(a<5) g=g*a;
if(b<5) g=g*b;
if(c<5) g=g*c;
if(d<5) g=g*d;
printf("%d" ,g);
return 0;
}
huul
2024-09-26 13:19:09
⣈⠒⢿⣦⣀⡀⠀⠀⠀⠀⠀⠸⣦⣑⢿⣦⡀⠀⢀⣿⢊⠷⠰⠜⠋⠒⠒⠒⠀⠐⠤⠤⣴⠞⣱⣻⣷⡶⠋⢀⠔⠋⠀⠀⠀⠀⠀⠀⠀⠀
⠛⠿⣶⣬⣙⡻⢷⣶⣦⣄⡀⠀⠈⢻⣧⣼⣿⠿⠛⠉⠀⠀⡀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⢈⡿⠋⣠⣴⡟⠀⠀⠀⠀⠀⢀⣀⡤⠔⢊
⠀⠀⠀⠉⠙⠛⠷⣦⣝⡻⢿⣶⣤⣴⣿⡿⠁⠀⢀⠀⠀⡀⠐⠒⡀⠈⡔⠀⠂⢌⡃⠠⠀⠰⠋⠀⠀⠉⠈⠆⡀⣀⣤⠴⠚⡋⠡⠔⠊⠁
⣀⣀⠀⠀⠀⠀⠀⠀⠉⠻⢷⣶⣯⡿⠋⠀⠀⡐⠀⠠⠁⠐⠈⢫⣁⠰⠤⢘⡰⠎⢄⠂⠁⠀⠀⠀⠀⠀⠀⠀⠙⣡⡴⠖⠋⢀⠒⡒⢆⡀
⠉⠉⠙⠛⠒⠞⠿⠷⢶⣦⣴⡿⠋⠀⠀⠀⡔⠀⠠⠑⠀⠌⠐⡀⢻⡴⢀⡖⢉⡒⠈⠀⢠⠈⠐⠀⠂⠠⠀⠀⠀⠰⣄⠠⡁⠀⠀⠀⠂⠉
⠉⠀⠀⠒⠂⠤⢤⣤⣤⣤⠏⠀⠀⠀⠀⠁⠀⠠⠁⡐⠈⠀⠠⠐⠈⢴⡜⠛⠀⢀⡰⣎⢳⡇⠏⠰⠂⠁⠀⠀⠀⠀⢬⡀⠀⠄⠀⠀⠀⣀
⣀⣀⣀⣤⣤⡴⢶⣿⣯⠀⠀⠀⠀⢀⠀⠄⠂⠠⠄⢀⠀⠀⠀⠀⡐⡀⠐⠤⣞⣉⡀⣄⢀⣄⢠⡐⠤⠀⢡⠀⠀⠀⢸⣿⡿⠶⣡⢦⡱⡞
⠲⠶⠶⠶⠶⠶⢿⣿⣿⠀⠀⠀⠀⠀⡌⢠⡰⣥⡶⣢⡐⠀⠄⠐⠰⢯⣷⣤⡀⠙⠛⢈⠘⡻⡄⡗⠈⠁⡀⠄⠈⠀⣸⣟⡃⢀⠀⠉⠁⠀
⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⡀⠀⠘⡃⠸⠅⢉⡴⠁⢀⠁⠂⢶⠻⡷⠾⣍⣛⠁⣠⠄⡀⢀⠀⠀⠄⢁⣠⠀⠄⠀⣿⣶⣮⣭⣍⣉⣓⠒
⠀⠀⣀⣠⣤⣶⣿⣿⠀⣠⠐⠀⡈⠥⣰⠆⠙⢀⡰⠌⠠⣖⣳⡾⣿⡷⡶⡞⠌⣴⣣⠀⢳⡠⠈⠄⠂⣼⠇⠀⠀⢠⣿⣿⣧⣈⠁⠉⠁⠈
⡾⢟⣛⣭⣵⣶⣿⣟⠀⠁⡀⢆⡐⠀⣁⡤⠚⠝⢂⡛⠥⣮⣽⡟⣁⢍⣡⠶⡆⠀⢥⢃⠀⠡⠴⡀⢢⣿⠂⠀⠀⣼⣷⣭⡙⠻⢷⣶⣄⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠉⣩⣴⠾⣍⣤⡀⠈⠌⡛⠇⡈⠴⢻⡇⠚⠉⡃⠠⠄⠂⠸⠟⠅⠠⣰⠟⠁⠀⡀⠰⠟⣹⣿⠿⢿⣶⣦⣍⡃
⣿⠻⢩⠓⢯⣿⠿⠟⣫⣵⣾⣿⣧⠏⠑⠢⠽⣿⣷⣒⣶⣿⣷⣶⡆⣤⣤⣐⠀⢡⡀⣅⠈⠁⡴⠃⢀⣄⡽⢛⣧⡀⢏⣿⣧⡀⠀⠉⠙⠛
⣇⠃⠀⠈⠀⠀⣴⣿⣿⢯⡿⢰⣿⣿⣶⣦⡄⣴⣼⣿⡿⣿⣿⣿⣷⣳⣿⣿⣆⠈⣣⢸⣄⠀⢰⣊⣿⣾⠠⣽⣿⢿⣷⣌⡻⢿⣦⣀⠀⠀
⠃⠀⠀⠀⢀⠀⣖⣻⣿⢸⠇⣼⣿⣿⣿⣿⣍⣳⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣜⣻⡆⢿⣦⢀⢳⣿⣿⣾⡿⣿⣿⠋⠻⢿⣦⡙⠻⣧⣄
⣶⣿⣝⡾⣴⣫⣾⣿⣿⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣟⣿⡸⣿⢦⣹⣿⣳⣿⣼⡿⠃⠀⠀⠀⠈⠻⢷⣌⠹
⠛⠻⣿⣿⣿⣟⣿⠟⢹⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣟⢾⣹⣇⢹⣿⠒⢿⢿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠻⢷
⠀⠀⠀⠉⠉⠉⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣯⢿⣹⣎⡷⣿⡆⠻⣴⠀⢸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣟⡉⣿⣯⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣷⣻⣞⣯⠷⣏⣾⣿⢿⡄⣿⡀⡼⠿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣟⣾⣽⣻⣽⡾⣣⣾⡇⠸⣿⣽⣆⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⡟⢾⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⡿⣯⢿⣟⣷⣻⡾⣋⣶⣿⣿⣿⡀⢿⣿⣿⣧⣍⠻⣦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣷⢰⣶⣬⣿⣿⣿⣿⣿⣿⡿⣯⣿⣽⣿⡾⠟⣡⣶⣿⣿⣿⣯⢿⣇⠘⣿⣿⣿⣾⣷⣎⠿⣧⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⡹⢿⣿⣿⣿⣿⣿⣿⡿⠿⠛⢋⣁⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⡄⠸⣿⢿⣿⣿⣾⣷⣞⡽⢿⣦⡀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣶⣽⣏⣿⣿⣯⢽⣿⠉⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣇⠀⠹⣇⡺⣟⣿⣿⣿⣷⣏⡿⣿⣆
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⢿⡿⠀⠀⢿⣷⢯⣿⣿⣿⣿⣿⣿⣾⡽
2024-09-22 08:16:38
⣈⠒⢿⣦⣀⡀⠀⠀⠀⠀⠀⠸⣦⣑⢿⣦⡀⠀⢀⣿⢊⠷⠰⠜⠋⠒⠒⠒⠀⠐⠤⠤⣴⠞⣱⣻⣷⡶⠋⢀⠔⠋⠀⠀⠀⠀⠀⠀⠀⠀
⠛⠿⣶⣬⣙⡻⢷⣶⣦⣄⡀⠀⠈⢻⣧⣼⣿⠿⠛⠉⠀⠀⡀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⢈⡿⠋⣠⣴⡟⠀⠀⠀⠀⠀⢀⣀⡤⠔⢊
⠀⠀⠀⠉⠙⠛⠷⣦⣝⡻⢿⣶⣤⣴⣿⡿⠁⠀⢀⠀⠀⡀⠐⠒⡀⠈⡔⠀⠂⢌⡃⠠⠀⠰⠋⠀⠀⠉⠈⠆⡀⣀⣤⠴⠚⡋⠡⠔⠊⠁
⣀⣀⠀⠀⠀⠀⠀⠀⠉⠻⢷⣶⣯⡿⠋⠀⠀⡐⠀⠠⠁⠐⠈⢫⣁⠰⠤⢘⡰⠎⢄⠂⠁⠀⠀⠀⠀⠀⠀⠀⠙⣡⡴⠖⠋⢀⠒⡒⢆⡀
⠉⠉⠙⠛⠒⠞⠿⠷⢶⣦⣴⡿⠋⠀⠀⠀⡔⠀⠠⠑⠀⠌⠐⡀⢻⡴⢀⡖⢉⡒⠈⠀⢠⠈⠐⠀⠂⠠⠀⠀⠀⠰⣄⠠⡁⠀⠀⠀⠂⠉
⠉⠀⠀⠒⠂⠤⢤⣤⣤⣤⠏⠀⠀⠀⠀⠁⠀⠠⠁⡐⠈⠀⠠⠐⠈⢴⡜⠛⠀⢀⡰⣎⢳⡇⠏⠰⠂⠁⠀⠀⠀⠀⢬⡀⠀⠄⠀⠀⠀⣀
⣀⣀⣀⣤⣤⡴⢶⣿⣯⠀⠀⠀⠀⢀⠀⠄⠂⠠⠄⢀⠀⠀⠀⠀⡐⡀⠐⠤⣞⣉⡀⣄⢀⣄⢠⡐⠤⠀⢡⠀⠀⠀⢸⣿⡿⠶⣡⢦⡱⡞
⠲⠶⠶⠶⠶⠶⢿⣿⣿⠀⠀⠀⠀⠀⡌⢠⡰⣥⡶⣢⡐⠀⠄⠐⠰⢯⣷⣤⡀⠙⠛⢈⠘⡻⡄⡗⠈⠁⡀⠄⠈⠀⣸⣟⡃⢀⠀⠉⠁⠀
⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⡀⠀⠘⡃⠸⠅⢉⡴⠁⢀⠁⠂⢶⠻⡷⠾⣍⣛⠁⣠⠄⡀⢀⠀⠀⠄⢁⣠⠀⠄⠀⣿⣶⣮⣭⣍⣉⣓⠒
⠀⠀⣀⣠⣤⣶⣿⣿⠀⣠⠐⠀⡈⠥⣰⠆⠙⢀⡰⠌⠠⣖⣳⡾⣿⡷⡶⡞⠌⣴⣣⠀⢳⡠⠈⠄⠂⣼⠇⠀⠀⢠⣿⣿⣧⣈⠁⠉⠁⠈
⡾⢟⣛⣭⣵⣶⣿⣟⠀⠁⡀⢆⡐⠀⣁⡤⠚⠝⢂⡛⠥⣮⣽⡟⣁⢍⣡⠶⡆⠀⢥⢃⠀⠡⠴⡀⢢⣿⠂⠀⠀⣼⣷⣭⡙⠻⢷⣶⣄⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠉⣩⣴⠾⣍⣤⡀⠈⠌⡛⠇⡈⠴⢻⡇⠚⠉⡃⠠⠄⠂⠸⠟⠅⠠⣰⠟⠁⠀⡀⠰⠟⣹⣿⠿⢿⣶⣦⣍⡃
⣿⠻⢩⠓⢯⣿⠿⠟⣫⣵⣾⣿⣧⠏⠑⠢⠽⣿⣷⣒⣶⣿⣷⣶⡆⣤⣤⣐⠀⢡⡀⣅⠈⠁⡴⠃⢀⣄⡽⢛⣧⡀⢏⣿⣧⡀⠀⠉⠙⠛
⣇⠃⠀⠈⠀⠀⣴⣿⣿⢯⡿⢰⣿⣿⣶⣦⡄⣴⣼⣿⡿⣿⣿⣿⣷⣳⣿⣿⣆⠈⣣⢸⣄⠀⢰⣊⣿⣾⠠⣽⣿⢿⣷⣌⡻⢿⣦⣀⠀⠀
⠃⠀⠀⠀⢀⠀⣖⣻⣿⢸⠇⣼⣿⣿⣿⣿⣍⣳⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣜⣻⡆⢿⣦⢀⢳⣿⣿⣾⡿⣿⣿⠋⠻⢿⣦⡙⠻⣧⣄
⣶⣿⣝⡾⣴⣫⣾⣿⣿⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣟⣿⡸⣿⢦⣹⣿⣳⣿⣼⡿⠃⠀⠀⠀⠈⠻⢷⣌⠹
⠛⠻⣿⣿⣿⣟⣿⠟⢹⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣟⢾⣹⣇⢹⣿⠒⢿⢿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠻⢷
⠀⠀⠀⠉⠉⠉⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣯⢿⣹⣎⡷⣿⡆⠻⣴⠀⢸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣟⡉⣿⣯⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣷⣻⣞⣯⠷⣏⣾⣿⢿⡄⣿⡀⡼⠿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣟⣾⣽⣻⣽⡾⣣⣾⡇⠸⣿⣽⣆⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⡟⢾⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⡿⣯⢿⣟⣷⣻⡾⣋⣶⣿⣿⣿⡀⢿⣿⣿⣧⣍⠻⣦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣷⢰⣶⣬⣿⣿⣿⣿⣿⣿⡿⣯⣿⣽⣿⡾⠟⣡⣶⣿⣿⣿⣯⢿⣇⠘⣿⣿⣿⣾⣷⣎⠿⣧⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⡹⢿⣿⣿⣿⣿⣿⣿⡿⠿⠛⢋⣁⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⡄⠸⣿⢿⣿⣿⣾⣷⣞⡽⢿⣦⡀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣶⣽⣏⣿⣿⣯⢽⣿⠉⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣇⠀⠹⣇⡺⣟⣿⣿⣿⣷⣏⡿⣿⣆
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⢿⡿⠀⠀⢿⣷⢯⣿⣿⣿⣿⣿⣿⣾⡽
2024-05-22 10:25:24
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>

using namespace std;

// Headers
string toString (double);
int toInt (string);
double toDouble (string);

int main() {
int a, b, c, d;

cin >> a;
cin >> b;
cin >> c;
cin >> d;
if (a < b) {
if (a < c) {
if (a < d) {
cout << a << endl;
2024-05-19 08:34:18
int[] arr = new int[] { 3, 6, 2, 4 };
int sum = 1;
for (int i = 0; i < arr.length; i++) {
if (arr[i] < 5) {
sum *= arr[i];
}
}
System.out.println(sum);
2024-05-10 06:38:40
sigam

Last edit: 2024-05-10 06:39:34
2024-05-10 06:37:48
⣈⠒⢿⣦⣀⡀⠀⠀⠀⠀⠀⠸⣦⣑⢿⣦⡀⠀⢀⣿⢊⠷⠰⠜⠋⠒⠒⠒⠀⠐⠤⠤⣴⠞⣱⣻⣷⡶⠋⢀⠔⠋⠀⠀⠀⠀⠀⠀⠀⠀
⠛⠿⣶⣬⣙⡻⢷⣶⣦⣄⡀⠀⠈⢻⣧⣼⣿⠿⠛⠉⠀⠀⡀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⢈⡿⠋⣠⣴⡟⠀⠀⠀⠀⠀⢀⣀⡤⠔⢊
⠀⠀⠀⠉⠙⠛⠷⣦⣝⡻⢿⣶⣤⣴⣿⡿⠁⠀⢀⠀⠀⡀⠐⠒⡀⠈⡔⠀⠂⢌⡃⠠⠀⠰⠋⠀⠀⠉⠈⠆⡀⣀⣤⠴⠚⡋⠡⠔⠊⠁
⣀⣀⠀⠀⠀⠀⠀⠀⠉⠻⢷⣶⣯⡿⠋⠀⠀⡐⠀⠠⠁⠐⠈⢫⣁⠰⠤⢘⡰⠎⢄⠂⠁⠀⠀⠀⠀⠀⠀⠀⠙⣡⡴⠖⠋⢀⠒⡒⢆⡀
⠉⠉⠙⠛⠒⠞⠿⠷⢶⣦⣴⡿⠋⠀⠀⠀⡔⠀⠠⠑⠀⠌⠐⡀⢻⡴⢀⡖⢉⡒⠈⠀⢠⠈⠐⠀⠂⠠⠀⠀⠀⠰⣄⠠⡁⠀⠀⠀⠂⠉
⠉⠀⠀⠒⠂⠤⢤⣤⣤⣤⠏⠀⠀⠀⠀⠁⠀⠠⠁⡐⠈⠀⠠⠐⠈⢴⡜⠛⠀⢀⡰⣎⢳⡇⠏⠰⠂⠁⠀⠀⠀⠀⢬⡀⠀⠄⠀⠀⠀⣀
⣀⣀⣀⣤⣤⡴⢶⣿⣯⠀⠀⠀⠀⢀⠀⠄⠂⠠⠄⢀⠀⠀⠀⠀⡐⡀⠐⠤⣞⣉⡀⣄⢀⣄⢠⡐⠤⠀⢡⠀⠀⠀⢸⣿⡿⠶⣡⢦⡱⡞
⠲⠶⠶⠶⠶⠶⢿⣿⣿⠀⠀⠀⠀⠀⡌⢠⡰⣥⡶⣢⡐⠀⠄⠐⠰⢯⣷⣤⡀⠙⠛⢈⠘⡻⡄⡗⠈⠁⡀⠄⠈⠀⣸⣟⡃⢀⠀⠉⠁⠀
⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⡀⠀⠘⡃⠸⠅⢉⡴⠁⢀⠁⠂⢶⠻⡷⠾⣍⣛⠁⣠⠄⡀⢀⠀⠀⠄⢁⣠⠀⠄⠀⣿⣶⣮⣭⣍⣉⣓⠒
⠀⠀⣀⣠⣤⣶⣿⣿⠀⣠⠐⠀⡈⠥⣰⠆⠙⢀⡰⠌⠠⣖⣳⡾⣿⡷⡶⡞⠌⣴⣣⠀⢳⡠⠈⠄⠂⣼⠇⠀⠀⢠⣿⣿⣧⣈⠁⠉⠁⠈
⡾⢟⣛⣭⣵⣶⣿⣟⠀⠁⡀⢆⡐⠀⣁⡤⠚⠝⢂⡛⠥⣮⣽⡟⣁⢍⣡⠶⡆⠀⢥⢃⠀⠡⠴⡀⢢⣿⠂⠀⠀⣼⣷⣭⡙⠻⢷⣶⣄⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠉⣩⣴⠾⣍⣤⡀⠈⠌⡛⠇⡈⠴⢻⡇⠚⠉⡃⠠⠄⠂⠸⠟⠅⠠⣰⠟⠁⠀⡀⠰⠟⣹⣿⠿⢿⣶⣦⣍⡃
⣿⠻⢩⠓⢯⣿⠿⠟⣫⣵⣾⣿⣧⠏⠑⠢⠽⣿⣷⣒⣶⣿⣷⣶⡆⣤⣤⣐⠀⢡⡀⣅⠈⠁⡴⠃⢀⣄⡽⢛⣧⡀⢏⣿⣧⡀⠀⠉⠙⠛
⣇⠃⠀⠈⠀⠀⣴⣿⣿⢯⡿⢰⣿⣿⣶⣦⡄⣴⣼⣿⡿⣿⣿⣿⣷⣳⣿⣿⣆⠈⣣⢸⣄⠀⢰⣊⣿⣾⠠⣽⣿⢿⣷⣌⡻⢿⣦⣀⠀⠀
⠃⠀⠀⠀⢀⠀⣖⣻⣿⢸⠇⣼⣿⣿⣿⣿⣍⣳⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣜⣻⡆⢿⣦⢀⢳⣿⣿⣾⡿⣿⣿⠋⠻⢿⣦⡙⠻⣧⣄
⣶⣿⣝⡾⣴⣫⣾⣿⣿⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣟⣿⡸⣿⢦⣹⣿⣳⣿⣼⡿⠃⠀⠀⠀⠈⠻⢷⣌⠹
⠛⠻⣿⣿⣿⣟⣿⠟⢹⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣟⢾⣹⣇⢹⣿⠒⢿⢿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠻⢷
⠀⠀⠀⠉⠉⠉⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣯⢿⣹⣎⡷⣿⡆⠻⣴⠀⢸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣟⡉⣿⣯⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣷⣻⣞⣯⠷⣏⣾⣿⢿⡄⣿⡀⡼⠿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣟⣾⣽⣻⣽⡾⣣⣾⡇⠸⣿⣽⣆⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⡟⢾⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⡿⣯⢿⣟⣷⣻⡾⣋⣶⣿⣿⣿⡀⢿⣿⣿⣧⣍⠻⣦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣷⢰⣶⣬⣿⣿⣿⣿⣿⣿⡿⣯⣿⣽⣿⡾⠟⣡⣶⣿⣿⣿⣯⢿⣇⠘⣿⣿⣿⣾⣷⣎⠿⣧⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⡹⢿⣿⣿⣿⣿⣿⣿⡿⠿⠛⢋⣁⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⡄⠸⣿⢿⣿⣿⣾⣷⣞⡽⢿⣦⡀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣶⣽⣏⣿⣿⣯⢽⣿⠉⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣇⠀⠹⣇⡺⣟⣿⣿⣿⣷⣏⡿⣿⣆
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⢿⡿⠀⠀⢿⣷⢯⣿⣿⣿⣿⣿⣿⣾⡽
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.