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
2024-04-17 09:55:38
#include <iostream>
using namespace std;
int main()
{
int a, b,c,d,s=0;
cin>>a>>b>>c>>d;
if(a>80) s=s+a;
if(b>80) s=s+b;
if(c>80) s=s+c;
if(d>80) s=s+d;
cout<<s<<endl;
return 0;
}
2024-03-11 07:43:31
Are you burger cause you got buns both sides
2024-02-29 05:07:24
#include <iostream>
//80 aas deesh toonii niilber
using namespace std;
int main()
{
int a, b,c,d,s=0;

cin>>a>>b>>c>>d;

if(a>80){
s=s+a;
}

if(b>80){
s=s+b;
}

if(c>80){
s=s+c;
}

if(d>80){
s=s+d;
}

cout<<s<<endl;
return 0;
}
2024-02-21 14:17:09
yaj ene deer arrays ashiglah ve
2024-01-22 12:34:34
jevsvgfebvh bverbuevcbfyfgfgrevbve
gre;rgrtrththrt
yluoi
tyrnr
thjtyjjetyjthyojgornnbh
egH ngb e4t9 04tu4tn 05yn9 05n5ybvej,.
6 55yu8 R
4jigr24
5y6by2t2;g5o3bhgrungvrwt2vf`
vt8y53rv
tvvg9frgt32tb
2024-01-09 11:44:35
#include <iostream>
using namespace std;
int main()
{
int a, b,c,d,s=0;
cin>>a>>b>>c>>d;
if(a>80) s=s+a;
if(b>80) s=s+b;
if(c>80) s=s+c;
if(d>80) s=s+d;
cout<<s<<endl;
return 0;
}
ishh huuldaa huul
2023-12-11 09:34:13
#include <bits/stdc++.h>
using namespace std;

int main() {

int a, b, c, d, n;
vector<int> gg;
n=4;
for(int i=0; i<n; i++)
{
cin>>d;
gg.push_back(d);
}
int o=0;
for(int i=0; i<n; i++)
{
if(gg[i]>=80)
{
o+=gg[i];
}
}
cout<<o;

return 0;
}
2023-11-20 07:20:38
#include <bits/stdc++.h>
using namespace std;

int main() {

int a, b, c, d, n;
vector<int> gg;
n=4;
for(int i=0; i<n; i++)
{
cin>>d;
gg.push_back(d);
}
int o=0;
for(int i=0; i<n; i++)
{
if(gg[i]>=80)
{
o+=gg[i];
}
}
cout<<o;

return 0;
}
:>>>>>>>
2023-11-20 06:33:45
#include<bits/stdc++.h>
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;
}



}
2023-11-03 04:23:23
#include <bits/stdc++.h>
using namespace std;

int main() {

int a, b, c, d, n;
vector<int> gg;
n=4;
for(int i=0; i<n; i++)
{
cin>>d;
gg.push_back(d);
}
int o=0;
for(int i=0; i<n; i++)
{
if(gg[i]>=80)
{
o+=gg[i];
}
}
cout<<o;

return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.