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

RGB7105 - Нийлбэр 80

Өгөгдсөн 4 тооны 80-аас их тоонуудын нийлбэрийг ол.

Input

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

Output

Нийлбэр.

Example

Input:
85 75 96 69
Output:
181

Нэмсэн: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
2019-10-21 04:46:46
zogsohgui zogsohgui zogsohgui shagaig huchindeh husel mini zogsohgui hha
2019-10-21 04:46:26
hiceelee hiijii bai ergvv golognuudee
2019-10-21 04:46:01
shagai al shagai al
2019-10-21 03:42:12
#include <bits/stdc++.h>
using namespace std;
main ()
{
int a,b,c,d,e,g=0;
cin>>a>>b>>c>>d;
if(a>80) e=g+a;
if(b>80) e=e+b;
if(c>80) e=e+c;
if(d>80) e=e+d;
cout<<e;
}suga alnuud bodoj sur

Last edit: 2019-10-21 03:42:31
2019-10-15 05:22:03
#include <iostream>
using namespace std;
int main() {
int a,b,c,d;
cin>>a>>b>>c>>d;
if (a>80)a=a;
else a=0;
if (b>80)b=b;
else b=0;
if (c>80)c=c;
else c=0;
if (d>80)d=d;
else d=0;
cout<<a+b+c+d;
return 0;
}
2019-10-09 10:18:14
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,m=0;
cin>>a>>b>>c>>d;
if(a>80) m=a;
if(b>80) m=m+b;
if(c>80) m=m+c;
if(d>80) m=m+d;
cout<<m;
}
2019-10-05 09:45:15
#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>80)e=a;
else e=0;
if(b>80)f=b;
else f=0;
if(c>80)g=c;
else g=0;
if(d>80)h=d;
else h=0;
i=e+f+g+h;
printf("%d",i);
return 0;
}SUGUUUDAA

Last edit: 2019-10-05 09:45:33
2019-10-05 09:44:38
sagsd meduu anhaa durakaa
2019-10-05 09:44:17
anhaa sagsdii
2019-10-05 09:43:15
bodlogoo bod sugaa
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.