返回小组 开始 2025-09-13 10:05:00

雨花毓秀周六B班

结束 2025-09-13 11:40:00
Contest is over.
当前 2025-11-04 21:22:13

91

include <stdio.h>

int main() {

int n, a, b, c, d, e, s;
scanf("%d", &n);
e = n % 10;
d = n / 10 % 10;
c = n / 100 % 10;
b = n / 1000 % 10;
a = n / 10000 % 10;
s = a + b + c + d + e;
printf("%d", s);
return 0;

}


nijiama  •  1个月前

比赛已结束。