请问有没有大佬指正一下我这个连小白都不如的菜鸟。
#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { int a,b,c; scanf("%d %d",&a,&b); c=pow(a,b); if(c<pow(10,9)) printf("%d",c); else printf("-1"); system("pause"); return 0; }
我能报答你的是关注你和祝你AC。
谢谢!