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
2024-01-12 04:02:10
#include <bits/stdc++.h>
using namespace std;
int ts(string a)
{
string b;
int s=0;
for (int i=0;i<a.size();i++)
{
s=s+(a[i]-'0');
}
return s;

}
int main(){
string a,b;
int c,d,e,m;
b=a;
cin>>a>>m;
while (t<=m)
{
int r=ts(a)%10;
a.push
}
cout<<ts(a);
}
2023-12-22 05:28:04









































































































































2023-12-22 05:28:04









































































































































2023-12-22 05:28:03









































































































































2023-12-22 05:28:03









































































































































2023-12-22 05:28:02









































































































































2023-12-22 05:28:02









































































































































2023-12-22 05:28:02









































































































































2023-12-22 05:28:02









































































































































2023-12-20 03:47:19
#include<stdio.h>
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
long long asdakhgfdaf,hritughfgvbgf,aasdgad;
cin>>asdakhgfdaf>>hritughfgvbgf;
aasdgad=asdakhgfdaf+hritughfgvbgf;
cout<<aasdgad;
return 0;
}

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