permutation.cpp: In function 'void solve(int)':
permutation.cpp:44:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,y,aux;
^
permutation.cpp:44:13: warning: unused variable 'x' [-Wunused-variable]
int i,j,x,y,aux;
^
permutation.cpp:44:15: warning: unused variable 'y' [-Wunused-variable]
int i,j,x,y,aux;
^
permutation.cpp:44:17: warning: unused variable 'aux' [-Wunused-variable]
int i,j,x,y,aux;
^~~
stub.cpp: In function 'int query(int*)':
stub.cpp:15:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin, "%d", &x);
~~~~~~^~~~~~~~~~~~~~~~~
stub.cpp: In function 'int main(int, char**)':
stub.cpp:48:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin, "%d", &N);
~~~~~~^~~~~~~~~~~~~~~~~