/in/foo.cc: In function 'void read()':
/in/foo.cc:12:11: warning: unused variable 'k' [-Wunused-variable]
int i,j,k;
^
/in/foo.cc: In function 'void del(int, int)':
/in/foo.cc:25:9: warning: unused variable 'j' [-Wunused-variable]
int i,j,k=q[t][0].x;
^
/in/foo.cc: In function 'void add(int, int, int)':
/in/foo.cc:32:9: warning: unused variable 'j' [-Wunused-variable]
int i,j,k=q[t][0].x;
^
/in/foo.cc: In function 'void work()':
/in/foo.cc:46:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=m;i++)
^~~
/in/foo.cc:55:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d",fm[m]);
^~~~~~