Problem segmenttree2
User hpesoj
Submission Time 2023-02-28 17:41:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp:7:14: error: ‘ll’ was not declared in this scope
7 | typedef pair<ll ,ll> ii;
| ^~
segmenttree2.cpp:7:18: error: ‘ll’ was not declared in this scope
7 | typedef pair<ll ,ll> ii;
| ^~
segmenttree2.cpp:7:20: error: template argument 1 is invalid
7 | typedef pair<ll ,ll> ii;
| ^
segmenttree2.cpp:7:20: error: template argument 2 is invalid
segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:4:22: error: ‘ll’ was not declared in this scope
4 | #define rep(i,n) for(ll i = 1; i <= n; i++)
| ^~
segmenttree2.cpp:58:5: note: in expansion of macro ‘rep’
58 | rep(i,q){
| ^~~
segmenttree2.cpp:58:9: error: ‘i’ was not declared in this scope
58 | rep(i,q){
| ^
segmenttree2.cpp:4:32: note: in definition of macro ‘rep’
4 | #define rep(i,n) for(l