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

RGB7001 - 2 тооны нийлбэр

Өгөгдсөн бүхэл тооны нийлбэрийг ол.

Input

2 бүхэл тоо зайгаар тусгаарлагдан нэг мөрөнд өгөгдөнө.

Output

2 тооны нийлбэр.

Example

Input:
12 23

Output:
35

Нэмсэн:Bataa
Огноо:2011-01-15
Хугацааны хязгаарлалт: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-10-30 11:18:41
77 #include<iostream>
using namespace std;
int main () {
int a, n, m=0, e, b, x, c, d;
cin>>a>>b>>c;
if (a%2==0){
a=a+0;
}
else{
a=a*0;
}
if (b%2==0){
b=b+0;
}
else{
b=b*0;
}
if (c%2==0){
c=c+0;
}
else{
c=c*0;
}
cout<<a+b+c;
return 0;
}
2023-10-30 11:17:13
64
#include<iostream>
using namespace std;
int main () {
int a, n, m=0, e, b, x, c, d, shar, ulaan, nogoon;
cin>>n;
ulaan=1;
shar=2;
nogoon=3;
if (n==1){
cout<<"NO";
}
if (n==2){
cout<<"NO";
}
if (n==3){
cout<<"YES";
}
}
2023-10-30 10:19:15
#include <iostream>
using namespace std;

int main() {
long long a,b,c,d;
cin>>a>>b>>c;
d=(b*b)-(4*a*c);
if(d==0){
cout<<"1";
}
if(d>0){
cout<<"2";
}
if(d<0){
cout<<"0";
}
}
2023-10-30 10:05:34
https://tetr.io/#ECDJ
2023-10-23 07:53:56
llruud amia horlo huulahaasaa icku bnu
2023-10-17 09:08:44
#include<bits/stdc++.h>
using namespace std;
int main() {
int a,b,c;
cin>>a>>b;
c=a+b;
cout<<c<<endl;
return 0;
}
2023-10-05 06:48:03
err chi odoch hurtel irsen bol sain baina hichegeeree
2023-09-28 07:53:15
#include <bits/stdc++.h>
using namespace std;

int main() {
long long g, b,f,x[200000],y[200000],m,z[200000],c=0,n,a,j,i,d[200000],w,e,r,h[200000] ;
string s,o,ug[10],t;
cin>>a;
for(i=1;i<=a;i++) {
m=0;

cin>>b;


c=0;

for(j=0;j<b;j++) {

cin>>x[j];
}

for(j=0;j<b;j++) {

for(g=0;g<b;g++) {

if(x[j]==x[g]) {
c++;
}
}
m=max(m,c);
c=0;
}
cout<<m<<endl;
}

}
2023-08-24 08:20:05


Last edit: 2023-08-24 08:20:20
2023-08-22 10:19:36
hh


Last edit: 2023-08-22 14:31:18
2023-08-14 09:14:01
#include<iostream>
using namespace std;
int main(){
int i,s,k=0,l=0;
string a,b,c,d;
cin>>s;
a="I hate that";
b="I love that";
c="I love it";
d="I hate it";
for(i=1;i<=s;i++) {
if(i%2==1&&i<s){
cout<<a<<' ';
}
if(i%2==0&&i<s){
cout<<b<<' ';
}
if(i%2==0&&i==s){
cout<<c<<
2023-09-05 13:18:43


Last edit: 2023-09-06 08:46:53
2023-09-05 13:18:40
#include <bits/stdc++.h>
using namespace std;

int main() {
long long g, b,f,x[200000],y[200000],m,z[200000],c=0,n,a,j,i,d[200000],w,e,r,h[200000] ;
string s,o,ug[10],t;
cin>>a;
for(i=1;i<=a;i++) {
m=0;

cin>>b;


c=0;

for(j=0;j<b;j++) {

cin>>x[j];
}

for(j=0;j<b;j++) {

for(g=0;g<b;g++) {

if(x[j]==x[g]) {
c++;
}
}
m=max(m,c);
c=0;
}
cout<<m<<endl;
}

}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.