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
2020-11-05 04:47:23
NO

2020-10-24 06:37:23


Last edit: 2020-10-24 06:39:53
2020-10-21 10:25:40
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,s=0;
cin>>a>>b>>c>>d>>s;
if(a>80) s=s+a;
else if(a<80) s=s+0;
if(b>80) s=s+b;
else if(b<80) s=s+0;
if(c>80) s=s+c;
else if(c<80) s=s+0;
if(d>80) s=s+d;
else if(d<80) s=s+0;
cout<<s;
return 0;
} altaik
2020-07-15 08:20:31
import java.util.*;
import java.lang.*;

class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int sum = 0;
int arr[] = new int[4];
for (int i = 0; i < 4; i++) {
arr[i] = sc.nextInt();
}
for (int i : arr) {
if (i > 80) {
sum = sum + i;
}
}
System.out.println(sum);
}
}
2020-05-09 07:00:49
haraal edr helhe boliyoo
2020-02-12 02:11:20
herhen code bichij surah ve zovlogoo ogooch guys
2020-01-02 05:58:19
#include<stdio.h>
main(){
int arr[4],i, sum = 0;
for(i = 0; i < 4; i++){
scanf("%d", &arr[i]);
}
for(i = 0; i < 4; i++){
if(arr[i] > 80){
sum = sum + arr[i];
}
}
printf("%d", sum);

}
2019-10-21 04:51:50
ter mbi gomo gd bga sda ooroo gomo
2019-10-21 04:47:35
unjii munjii aajii baajii
2019-10-21 04:47:16
hiceelee taraad shuud harij baildaa zolbin golognuudee
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.