/in/foo.cc: In function 'long long int pow(int, int)':
/in/foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=y;i++)ans*=x;return ans;
^~~
/in/foo.cc:13:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=y;i++)ans*=x;return ans;
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:28: error: expected ')' before 'a'
else printf("%d\n",(6*n-5)a%m);
^
/in/foo.cc:36:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
else printf("%d\n",(6*n-5)a%m);
^