/in/foo.cc: In function 'int find_up(long long int, long long int)':
/in/foo.cc:23:12: warning: unused variable 'a' [-Wunused-variable]
LL a=s[i].a,b=s[i].b,c=s[i].c,d=s[i].d;
^
/in/foo.cc: In function 'int find_down(long long int, long long int)':
/in/foo.cc:38:30: warning: unused variable 'c' [-Wunused-variable]
LL a=s[i].a,b=s[i].b,c=s[i].c,d=s[i].d;
^
/in/foo.cc: In function 'int find_left(long long int, long long int)':
/in/foo.cc:53:21: warning: unused variable 'b' [-Wunused-variable]
LL a=s[i].a,b=s[i].b,c=s[i].c,d=s[i].d;
^
/in/foo.cc: In function 'int find_right(long long int, long long int)':
/in/foo.cc:68:39: warning: unused variable 'd' [-Wunused-variable]
LL a=s[i].a,b=s[i].b,c=s[i].c,d=s[i].d;
^
/in/foo.cc: In function 'int bfs()':
/in/foo.cc:85:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!q.empty()) q.pop(); q.push((hq){1,0});
^~~~~
/in/foo.cc:85:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (!q.empty()) q.pop(); q.push((hq){1,0});
^