Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB8001 - 2 тооны нийлбэр |
Өгөгдсөн хоёр бүхэл тооны нийлбэр ол.
Input
Зайгаар тусгаарлагдан 2 тоо өгөгдөнө. (Integer төрөл)
Output
Нийлбэр
Example
Input: 2 3 Output: 5
Нэмсэн: | Bataa |
Огноо: | 2010-01-04 |
Хугацааны хязгаарлалт: | 1s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | ADA95 ASM32 ASM64 BASH BF C CSHARP C++ 4.3.2 CPP CPP14 C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON RUBY SCALA SCM guile SCM qobi ST TCL TEXT WHITESPACE |
hide comments
|
||||||
2022-05-16 08:11:11
a=int(input()) b=int(input()) s=a+b print(a+b) |
||||||
2022-05-16 08:03:03
python? |
||||||
2021-11-29 07:37:44
Ингэж чи минь явчлаа Инээж бяцхан гараа өргөөд Хүн хүний хэлдэг БАЯРТАЙ гэдгийг Хэнэг ч үгүй хэлээд явлаа |
||||||
2018-09-27 16:28:10
#include<iostream> using namespace std; main() { int a, b,s; cin>>a>>b; s=a+b; cout<<s<<endl; } |
||||||
2018-07-23 09:12:30
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll n; cin>>n; ll count=0; for(ll i=1;i<n;i++) { ll j; ll g=1; for(j=1;j<n-1;j++) { g=(g*i)%n; if(g==1) break; } ll z=(g*i)%n; if(z%n==1 && j==n-1) count++; } cout<<count<<endl;//your code goes here return 0; } |
||||||
2015-09-11 07:19:29 busykid
#include<stdio.h> main() { int a,b,s; //freopen("niilber.in","r",stdin); //freopen("niilber.out","w",stdout); scanf("%d %d",&a,&b); s=a+b; printf("%d",s); } |
||||||
2014-11-10 04:59:43 nomintulga
#include<stdio.h> main() { int a,b,s; freopen("niilber.in","r",stdin); freopen("niilber.out","w",stdout); scanf("%d %d",&a,&b); s=a+b; printf("%d",s); } ene bodlogiin aldaag heleed ogooch yah estoin be eswel buruu haruilt geed eswel horwvvleltiin aldaa geed bhiin |
||||||
2014-04-18 15:37:43 Eegii
#include<stdio.h> main<> { int a,b,s; freopen("niilber.in","r",stdin); freopen("niilber.out","w",stdout); scanf("%d %d",&a,&b); s=a+b; printf("%d",s); } |
||||||
2014-03-27 03:43:57 Bayr.temuulen
hooy ada-gaaaa c++4.3.2 bolgo |
||||||
2014-01-11 03:10:34 baysaa
#include <iostream> #include <conio.h> using namespace std; int main () { int a,b,c; cin >> a; cin >> b; c=a+b; cout << c; getch () ; } |