Problem expansion
User JustKitkat
Submission Time 2025-01-02 00:36:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

expansion.cpp:3:2: error: invalid preprocessing directive #deifne; did you mean #define?
3 | #deifne ll int
| ^~~~~~
| define
expansion.cpp:5:7: error: ‘ll’ does not name a type
5 | const ll maxn = 3005;
| ^~
expansion.cpp:8:5: error: ‘ll’ does not name a type
8 | ll S, E, M, val;
| ^~
expansion.cpp:9:12: error: expected ‘)’ before ‘s’
9 | node(ll s, ll e) : S(s), E(e){
| ~ ^~
| )
expansion.cpp:20:5: error: ‘ll’ does not name a type
20 | ll qry(ll l, ll r){
| ^~
expansion.cpp:25:14: error: ‘ll’ has not been declared
25 | void upd(ll p, ll v){
| ^~
expansion.cpp:25:20: error: ‘ll’ has not been declared
25 | void upd(ll p, ll v){
| ^~
expansion.cpp: In member function ‘void node::upd(int, int)’:
expansion.cpp:26:12: error: ‘S’ was not declared in this s