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
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;
}
2023-10-27 05:06:44
#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;
} ene
2023-05-04 08:56:41
ur momma so lesbi that she turned everybody straight
2023-03-29 08:32:08
#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;
}
advanced bodolt
2023-03-29 08:32:02
#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;
}
advanced bodolt
2023-03-29 08:32:00
#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;
}
advanced bodolt
2023-02-01 04:36:21
hulval gomo shuu
2023-01-18 07:40:17
#include <stdio.h>

int main()
{
int a, b, c, d, s;
scanf("%d%d%d%d", &a, &b, &c, &d);
if (a <= 80)
a = 0;
if (b <= 80)
b = 0;
if (c <= 80)
c = 0;
if (d <= 80)
d = 0;
s = a + b + c + d;
printf("%d", s);
return 0;
}
huulaarai bymbahuu
2022-12-02 01:08:09
#include<stdio.h>
int main (){
int a[100],i,sum=0;
for(i=1;i<5;i++){
scanf("%d",&a[i]);
if(a[i]>80){
sum=sum+a[i];
}
}
printf("%d",sum);
return 0;
}

sodolzgono
2022-11-20 06:31:11
hahahah

Last edit: 2022-11-20 07:10:17
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.