Main.cpp:4:1: error: 'll' does not name a type
4 | ll tr[400000];
| ^~
Main.cpp:4:1: note: the macro 'll' had not yet been defined
Main.cpp:5: note: it was later defined here
5 | #define ll long long
|
Main.cpp: In function 'void add(int, int, long long int)':
Main.cpp:10:5: error: 'tr' was not declared in this scope; did you mean 'r'?
10 | tr[l]+=v;
| ^~
| r
Main.cpp: In function 'long long int check(int)':
Main.cpp:25:14: error: 'tr' was not declared in this scope; did you mean 'tm'?
25 | ans+=tr[p];
| ^~
| tm
Main.cpp: In function 'int main()':
Main.cpp:37:9: error: 'tr' was not declared in this scope; did you mean 'tm'?
37 | tr[i+n] = a[i];
| ^~
| tm