n = int(input())
a,b = [],[]
alist = input().split(” “)
a = [int(alist[i]) for i in range(len(alist))]
blist = input().split(” “)
b = [int(blist[i]) for i in range(len(blist))]
测试案例,该测试案例标准答案为15。wrong answer: line 1 differ - expected: ‘15’, found: ‘
...查看全文
include
int Digits(char *s){
int cnt=0;
for(int i=0;i<81;i++){
if(s[i]>=‘0’&&s[i]<=‘9’){
cnt++;
}
}
return cnt;
}
int main(){
char s[81];
scanf(“%s”,s);
printf(“%d\n”,Digits(s));
re
...查看全文