meetings2.cpp: In member function 'int SEG::update(int, int, int, int, int, int)':
meetings2.cpp:33:52: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
33 | return T[idx] = max(update(a, b, x, lo, lo + hi >> 1, idx << 1), update(a, b, x, 1 + (lo + hi >> 1), hi, idx << 1 | 1));
| ~~~^~~~
meetings2.cpp:33:98: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
33 | return T[idx] = max(update(a, b, x, lo, lo + hi >> 1, idx << 1), update(a, b, x, 1 + (lo + hi >> 1), hi, idx << 1 | 1));
| ~~~^~~~
meetings2.cpp: In member function 'int SEG::query(int, int, int, int)':
meetings2.cpp:38:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
38 | if (a <= lo + hi >> 1) return query(a, lo, lo + hi >> 1, idx << 1);
| ~~~^~~~
meetings2.cpp:38:55: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
38 | if (a <= lo + hi >> 1) return query(a, lo, lo + hi >> 1, idx << 1);
| ~~~^~~~
meetings2.cpp:39:38: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
39 | else return query(a, 1 + (lo + hi >> 1), hi, idx << 1 | 1);
| ~~~^~~~
meetings2.cpp: In function 'void dfs2(int, int)':
meetings2.cpp:57:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
57 | if (Chk[cur]) return; Sub[cur] = 1;
| ^~
meetings2.cpp:57:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
57 | if (Chk[cur]) return; Sub[cur] = 1;
| ^~~
meetings2.cpp: In function 'void dp(int, int, int)':
meetings2.cpp:73:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
73 | if (Ans.query(lo + hi >> 1) <= Dep[cur] + a) hi = lo + hi >> 1;
| ~~~^~~~
meetings2.cpp:73:62: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
73 | if (Ans.query(lo + hi >> 1) <= Dep[cur] + a) hi = lo + hi >> 1;
| ~~~^~~~
meetings2.cpp:74:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
74 | else lo = 1 + (lo + hi >> 1);
| ~~~^~~~
meetings2.cpp: In function 'void update(int, int)':
meetings2.cpp:81:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
81 | int m = lo + hi >> 1;
| ~~~^~~~
meetings2.cpp: In function 'void solve(int)':
meetings2.cpp:94:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int i = 0; i < G[k].size(); i++) if (!Chk[G[k][i]]) {
| ~~^~~~~~~~~~~~~
meetings2.cpp:101:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for (int i = 0; i < G[k].size(); i++) V[i] = Sub[G[k][i]];
| ~~^~~~~~~~~~~~~
meetings2.cpp:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for (int i = 0; i < G[k].size(); i++) if (!Chk[G[k][i]]) {
| ~~^~~~~~~~~~~~~