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

RGB7010 - 3 оронтой тоо

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

Input

3 оронтой эерэг тоо өгөгдөнө.

Output

Цифрүүдийн нийлбэр.

Example

Input:
123
Output:
6

Нэмсэн:Bataa
Огноо:2011-05-10
Хугацааны хязгаарлалт: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-04-18 09:54:10
erdemtugs is d sucker
2023-04-18 09:51:00
he Hog Rider is a fast ground troop with medium hit points, low damage, and the ability to jump over enemy Walls. He is unlocked at level 2 Dark Barracks.
The Hog Rider (person) is a bare-chested dark-skinned man holding a hammer. He has a Mohawk, wears a brown leather loincloth, a red belt, and a pair of leather sandals, as well as two large golden wristbands and a gold earring.

Last edit: 2023-04-18 09:57:33
2023-03-31 07:24:51
#include <iostream>
using namespace std;

int main() {
int too, total = 0;
cin >> total;

for (int i = 0; i < 3; i++) {
sum += too % 10;
too/= 10;
}

cout << total << endl;
return 0;
}
2023-03-07 08:18:04
xhamster.com deer zaavar bnlee
2022-11-08 05:42:02
#include<iostream>//y=4x2-3x+5
using namespace std;
int main(){
int a,b,c,d;
cin>>a;
d=a/10/10;
b=a/10%10;
c=a%10;
cout<<d+b+c<<endl;
}
2022-11-07 07:51:04
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, d, s, f;
cin>>a;
c=a/10;
d=a%10;
s=c/10;
b=c%10;
f=s+d+b;
cout<<f<<endl;
}
2022-10-27 03:58:56
alnii sevchee
2022-10-13 04:29:36
#include <iostream>
using namespace std;

int main() {

int a, s, b, c, d;
cin >> a;
b = a/100;
c = a/10%10;
d = a%10;
s = b + c + d;
cout << s << endl;
} huull suguudaaa
\
2022-10-12 08:49:50
shaas sdaguda
2022-02-28 13:52:05
gay spirit hudluud bna
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.