Problem segmenttree2
User elainagrey
Submission Time 2023-02-28 17:50:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp:3:1: error: ‘define’ does not name a type
3 | define int long long
| ^~~~~~
segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:54:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
54 | cin>>n>>q;
| ^
| yn
segmenttree2.cpp:54:13: error: ‘q’ was not declared in this scope
54 | cin>>n>>q;
| ^
segmenttree2.cpp:57:14: error: ‘a’ was not declared in this scope
57 | cin>>a>>b>>c;
| ^
segmenttree2.cpp:57:17: error: ‘b’ was not declared in this scope
57 | cin>>a>>b>>c;
| ^
segmenttree2.cpp:57:20: error: ‘c’ was not declared in this scope
57 | cin>>a>>b>>c;
| ^
segmenttree2.cpp:58:12: error: ‘a’ was not declared in this scope
58 | if(a=