1911: 【入门】求一个5位数的各个位之和
Memory Limit:16 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:13
Solved:12
Description
从键盘读入一个5位的正整数,请求出这个5位数的各个位之和;
Input
一个5位的正整数n
Output
这个5位数的各个位之和
Sample Input Copy
12345
Sample Output Copy
15