Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
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
|
|||||||||||
2024-01-15 14:13:46
… Where have you been? Do you know when you're coming back? 'Cause since you've been gone I've got along but I've been sad … I tried to put it out for you to get Could've, should've but you never did Wish you wanted it a little bit More but it's a chore for you to give … Where have you been? Do you know if you're coming back? … We were too close to the stars I never knew somebody like you, somebody Falling just as hard I'd rather lose somebody than use somebody Maybe it's a blessing in disguise (I sold my soul for you) I see my reflection in your eyes … I know you're sick Hoping you fix whatever's broken Ignorant bliss And a few sips might be the potion … I tried to put it out for you to get Could've, should've but you never did Wish you wanted it a little bit More but it's a chore for you to give … Where have you been? Do you know if you're coming back? … We were too close to the stars I never knew somebody like you, somebody Falling just as hard I'd rather lose somebody than use somebody Maybe it's a blessing in disguise (I sold my soul for you) I see my reflection in your eyes (tell me you see it too) … So close, so close Yet so far away (so far) I don't know (I don't) How to be solo (no) So don't go, oh, no, just stay You and I were bright, shooting through the sky daily (yeah) Lighting up the night, wasn't always right, baby (mm-hmm) Yeah, every time that we realized it's crazy And you save me … We were too close to the stars I never knew somebody like you, somebody Falling just as hard I'd rather lose somebody than use somebody Maybe it's a blessing in disguise (I sold my soul for you) I see my reflection in your eyes (I sold my soul for you, I know you see it too) … Yeah, I brought same ones too I know you're tired, I know you're tired Just say it, I agree with you Sick of all the poison in me What did I do wrong for me, babe? Uh, I see myself in you, I see myself in you, baby I see myself in you, alright I see myself in you, maybe you should too |
|||||||||||
2023-12-07 05:45:28
#include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int s = 0; s += (a%2==0 ? a : 0); s += (b%2==0 ? b : 0); s += (c%2 == 0 ? c : 0); cout<<s; return 0; } gyatgu huhduud l huuldag ermiin... |
|||||||||||
2023-11-27 06:38:59
ok ez |
|||||||||||
2023-11-23 04:59:16
#include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int s = 0; s += (a%2==0 ? a : 0); s += (b%2==0 ? b : 0); s += (c%2 == 0 ? c : 0); cout<<s; return 0; } |
|||||||||||
2023-11-20 06:42:44
#include<bits/stdc++.h> using namespace std; int main(){ long a, b, c ,s=0; cin>>a>>b>>c; if(a%2==0){ s=s+a; } if(b%2==0){ s=s+b; } if(c%2==0){ s=s+c; } cout<<s; } |
|||||||||||
2023-11-20 06:14:02
sain bn uu |
|||||||||||
2023-11-20 06:14:02
sain bn uu |
|||||||||||
2023-10-27 05:07:28
#include<stdio.h> int main(){ int a,b,c,n=0; scanf("%d %d %d",&a ,&b ,&c); if(a%2==0){ n=n+a; } if(b%2==0){ n=n+b; } if(c%2==0){ n=n+c; } printf("%d",n); } ene |
|||||||||||
2023-10-03 05:43:18
d ick ofefidfisfjsidfjisdfsdiovnvxnxbvxncvxdiooverheaven |
|||||||||||
2023-10-03 05:42:09
gyat lvl 4 |