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
2020-01-05 05:40:07
shut up
2019-12-25 10:05:12
sugnuud comment bichsen humuus oorsdoo l bodoj chadahgui comment unshaad baihiin XD
2019-11-30 11:18:13
#include <stdio.h>
#include<math.h>
main()
{
int a,b,c,d,x;
scanf("%d %d %d %d",&a,&b,&c,&d);
if (a<5) a=a;
else a=1
if (b<5) b=b;
else b=1
if (c<5) c=c;
else c=1
if (d<5) d=d
else d=1
x=a*b*c*d;
printf("%d"/n,x);
return 0;
}
2019-11-21 07:10:44
#include<bits/stdc++.h>
using namespace std;
main()
{
int a,b,c,d,e;
cin>>a>>b>>c>>d;
e=1;
if (a<5) e=e*a;
if (b<5) e=e*b;
if (c<5) e=e*c;
if (d<5) e=e*d;
cout<<e;
} eniig harsan in t1 shuu
2019-11-05 05:41:22
budaa agshaa agshaa
2019-10-21 04:01:39
#include<bits/stdc++.h>
using namespace std;
main()
{
int a,b,c,d,e;
cin>>a>>b>>c>>d;
e=1;
if (a<5) e=e*a;
if (b<5) e=e*b;
if (c<5) e=e*c;
if (d<5) e=e*d;
cout<<e;
}suga pizdakuud comment shaadag llruudad durgvi
2019-10-05 09:53:09
#include <stdio.h>
main(){
int a,b,c,d,e,f,g,h,i;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
scanf("%d",&d);
if(a<5)e=a;
else e=1;
if(b<5)f=b;
else f=1;
if(c<5)g=c;
else g=1;
if(d<5)h=d;
else h=1;
i=e*f*g*h;
printf("%d",i);
return 0;
}

Last edit: 2019-10-05 09:54:52
2019-10-05 09:50:06
#include <stdio.h>
main(){
int a,b,c,d,e,f,g,h,i;MAI SHU
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",f&c);
scanf("%d",&d);
if(a<5)e=a;d
else e=1;
if(b<5)f=b;
else f=1;
if(c<5)g=c;
else g=1;
if(d<5)h=d;
else h=1;
i=e*f*g*h;
printf("%d",i);
return 0;ZDU
}
2019-09-30 06:23:45
L tanihvv minii ah atmanii zoduuldag n
2019-09-30 06:23:16
yu bn batsaana
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.