grader.c: In function 'int main()':
grader.c:25:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
25 | while(res != 1);
| ^~~~~
grader.c:26:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
26 | res = fscanf(f, "%d", &C);
| ^~~
grader.c:27:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
27 | while(res != 1);
| ^~~~~
grader.c:28:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
28 | res = fscanf(f, "%d", &N);
| ^~~
game.cpp: In function 'long long int get_y(int, int, int)':
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:5:21: note: in expansion of macro 'tm'
5 | #define lhs L[v],tl,tm
| ^~
game.cpp:20:23: note: in expansion of macro 'lhs'
20 | return __gcd ( get_y(lhs),get_y(rhs));
| ^~~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:6:19: note: in expansion of macro 'tm'
6 | #define rhs R[v], tm+1,tr
| ^~
game.cpp:20:34: note: in expansion of macro 'rhs'
20 | return __gcd ( get_y(lhs),get_y(rhs));
| ^~~
game.cpp: In function 'long long int get_x(int, int, int)':
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:5:21: note: in expansion of macro 'tm'
5 | #define lhs L[v],tl,tm
| ^~
game.cpp:29:24: note: in expansion of macro 'lhs'
29 | return __gcd ( get_x (lhs), get_x(rhs));
| ^~~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:6:19: note: in expansion of macro 'tm'
6 | #define rhs R[v], tm+1,tr
| ^~
game.cpp:29:36: note: in expansion of macro 'rhs'
29 | return __gcd ( get_x (lhs), get_x(rhs));
| ^~~
game.cpp: In function 'void up_y(int, int, int, int, int, bool)':
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:37:14: note: in expansion of macro 'tm'
37 | if (posy <= tm) {
| ^~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:5:21: note: in expansion of macro 'tm'
5 | #define lhs L[v],tl,tm
| ^~
game.cpp:39:8: note: in expansion of macro 'lhs'
39 | up_y(lhs,L[a],L[b],flag);
| ^~~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:6:19: note: in expansion of macro 'tm'
6 | #define rhs R[v], tm+1,tr
| ^~
game.cpp:43:8: note: in expansion of macro 'rhs'
43 | up_y(rhs,R[a],R[b],flag);
| ^~~
game.cpp: In function 'void up_x(int, int, int)':
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:49:16: note: in expansion of macro 'tm'
49 | if (posx <= tm) {
| ^~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:5:21: note: in expansion of macro 'tm'
5 | #define lhs L[v],tl,tm
| ^~
game.cpp:51:10: note: in expansion of macro 'lhs'
51 | up_x(lhs);
| ^~~
game.cpp:4:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
4 | #define tm (tl + tr >> 1)
| ~~~^~~~
game.cpp:6:19: note: in expansion of macro 'tm'
6 | #define rhs R[v], tm+1,tr
| ^~
game.cpp:55:10: note: in expansion of macro 'rhs'
55 | up_x(rhs);
| ^~~