rainbow.cpp:11:5: error: 'll' does not name a type
11 | ll a;
| ^~
rainbow.cpp:33:5: error: 'll' does not name a type
33 | ll query(int L, int R, int le, int ri){
| ^~
rainbow.cpp: In member function 'Node* Node::update(int, int, int)':
rainbow.cpp:16:16: error: 'struct Node' has no member named 'a'
16 | res -> a = a;
| ^
rainbow.cpp:16:20: error: 'a' was not declared in this scope
16 | res -> a = a;
| ^
rainbow.cpp:17:18: error: 'struct Node' has no member named 'a'
17 | ++res -> a;
| ^
rainbow.cpp: At global scope:
rainbow.cpp:57:5: error: 'll' does not name a type
57 | ll query(int x1, int y1, int x2, int y2){
| ^~
rainbow.cpp: In function 'int colour(int, int, int, int)':
rainbow.cpp:94:5: error: 'll' was not declared in this scope
94 | ll t = riv.query(x1, y1, x2, y2);
| ^~
rainbow.cpp:95:8: error: 't' was not declared in this scope
95 | if(t == 0) return 1;
| ^
rainbow.cpp:96:20: error: 'struct Grid' has no member named 'query'
96 | return 1 - riv.query(x1, y1, x2, y2) - dot.query(x1 + 1, y1 + 1, x2, y2) + lix.query(x1, y1 + 1, x2, y2) + liy.query(x1 + 1, y1, x2, y2);
| ^~~~~
rainbow.cpp:96:48: error: 'struct Grid' has no member named 'query'
96 | return 1 - riv.query(x1, y1, x2, y2) - dot.query(x1 + 1, y1 + 1, x2, y2) + lix.query(x1, y1 + 1, x2, y2) + liy.query(x1 + 1, y1, x2, y2);
| ^~~~~
rainbow.cpp:96:84: error: 'struct Grid' has no member named 'query'
96 | return 1 - riv.query(x1, y1, x2, y2) - dot.query(x1 + 1, y1 + 1, x2, y2) + lix.query(x1, y1 + 1, x2, y2) + liy.query(x1 + 1, y1, x2, y2);
| ^~~~~
rainbow.cpp:96:116: error: 'struct Grid' has no member named 'query'
96 | return 1 - riv.query(x1, y1, x2, y2) - dot.query(x1 + 1, y1 + 1, x2, y2) + lix.query(x1, y1 + 1, x2, y2) + liy.query(x1 + 1, y1, x2, y2);
| ^~~~~