题目描述 实现代码 #include<stdio.h> int main(void) { int n; char c; scanf("%d %c",&n,&c); int sum=-1; int num=0;