摘要: #include <cstdio> int main(){ int a,n,s=1,i; scanf("%d",&a,&b); for(i=1;i<=n;i++) s=s*a; printf("%d",s); return 0 } 注意for中{}加的位置 阅读全文