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

RGB7107 - Тэгш тоонуудын нийлбэр

Өгөгдсөн 3 тоон дахь тэгш тоонуудын нийлбэрийг ол. Ядаж 1 тэгш тоо бий. 

Input

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

Output

Нийлбэр

Example

Input:
10 3 5
Output:
10

Нэмсэн:Bataa
Огноо:2011-05-24
Хугацааны хязгаарлалт:0.202s
Эх кодын хэмжээний хязгаарлалт: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
2022-10-30 14:12:47
nad shig oroi mergejilee hiij bga sdakudaa amjilt husii crushaa bavahgui ch gesen daalgvaraa bavna shuu zaluuchudaa
2022-10-15 05:17:06
boii ashiglaarai #include <iostream>
using namespace std;
main(){
int a,b,c,d,l;
cin>>a>>b>>c;
if (a%2==0)
a=a;
else a=0;
if (b%2==0)
b=b;
else b=0;
if(c%2==0)
c=c;
else c=0;
a=a+b+c;
cout<<a;
}

Last edit: 2022-10-15 05:17:37
2022-10-07 18:24:32
#include<bits/stdc++.h>
using namespace std;

int main() {

int a, b, c, nem=0;

cin>>a>>b>>c;

if(a%2==0) nem+= a;
if(b%2==0) nem+= b;
if(c%2==0) nem+= c;

cout<<nem;

return 0;
}
2022-10-05 18:50:34
untmaar baiwch dontoo shaachlaashu ene sdad bur
2022-09-26 06:06:02
#include<iostream>
using namespace std;
int main()
{
int a,b,c,n=0;
cin >> a;
cin >> b;
cin >> c;
if(a%2==0) n=n+a;
if(b%2==0) n=n+b;
if(c%2==0) n=n+c;
cout << n;

return 0;
}niggruudee huul


Last edit: 2022-09-26 06:07:28
2022-08-14 09:00:54
#include<iostream>
using namespace std;
int main()
{
int a,b,c,n=0;
cin >> a;
cin >> b;
cin >> c;
if(a%2==0) n=n+a;
if(b%2==0) n=n+b;
if(c%2==0) n=n+c;
cout << n;

return 0;
}
2022-06-28 15:34:39
odo aavtai ni unt

Last edit: 2022-06-28 15:35:01
2022-05-28 13:54:55
nziigaa gej itgej ywsanch minii ohintoi untsan TvT


2022-05-24 09:35:03
bodoj chadahgui baival zuer unt chihoo

Last edit: 2022-05-24 09:48:27
2022-05-16 08:02:37
a,b,c=[int(x) for x in input().split()]
s=0
if a%2==0:
s=s+a
if b%2==0:
s=s+b
if c%2==0:
s=s+c
print(s)
temka suga
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.