4.while(arr[size–]==0)是不论判断真假,最后都要size–的。
include<stdio.h>#include<string.h>#pragmawarning(disable:4996)intmain() {intn; scanf("%d", &n);if(n==0) { printf("0");return0; }intarr[10000] = {0}; arr[0] =1;inta =n;intb =0;intc =0;for(inti =1; i <= n; i++) {for(intj =0; j <10000; j++) { arr[j]=...