/* No. 1022 Power Equation */ #include #include #define T 50 int main(void) { int t,n[T],i,a,b,c,d; scanf("%d",&t); for(i=0;i