#include <stdio.h> #include <math.h> main(){ int x,y,z,a,b; scanf("%d%d%d",&x,&y,&z); a=pow(x,y);b=pow(pow(x,z),y/z); printf("%d^%d=(%d^%d)^(%d/%d)\n%d=%d\n%s",x,y,x,z,y,z,a,b,a==b?"It is true":"It is false"); }

Note that non-ascii characters in the above source code will be escaped (such as \x9f).