power.cpp: In function 'int main()':
power.cpp:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf ("%d",&n);
| ~~~~~~^~~~~~~~~
power.cpp:20:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | scanf ("%d %d",&a,&b);
| ~~~~~~^~~~~~~~~~~~~~~
power.cpp:23:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf ("%s",power+1);
| ~~~~~~^~~~~~~~~~~~~~