这道题适于用while循环来解决#includevoid main() { int n,m,s;scanf("%d",&n); m=1; s=0;while ( sm--; printf("%d\n",m);}