1702: 【CSP基础】求一个5位数的各个位之和▃
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:14
Solved:11
Description
从键盘读入一个 5 位的正整数,请求出这个 5 位数的各个位之和。
Input
一个 5 位的正整数 n 。
Output
这个 5 位数的各个位之和。
Sample Input Copy
12345
Sample Output Copy
15