apple.cpp: In member function 'void Vertex::propagate()':
apple.cpp:11:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
11 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp:11:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
11 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp: In member function 'void Vertex::upd(int, int)':
apple.cpp:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp:23:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp: In member function 'int Vertex::qry(int, int)':
apple.cpp:32:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp:32:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if(!l) l = new Vertex(low, mid); if(!r) r = new Vertex(mid+1, high);
| ^~
apple.cpp: In function 'int main()':
apple.cpp:37:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | int q, c = 0; scanf("%d", &q);
| ~~~~~^~~~~~~~~~
apple.cpp:40:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | int t, x, y; scanf("%d %d %d", &t, &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~