Problem | smurfpaths |
---|---|
User | Reverberate |
Submission Time | 2024-02-14 17:25:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurfpaths.cpp:81:5: error: ‘PII’ does not name a type
81 | PII v; int lazy;
| ^~~
smurfpaths.cpp:98:26: error: ‘PII’ has not been declared
98 | void update(int pos, PII val)
| ^~~
smurfpaths.cpp:128:5: error: ‘PII’ does not name a type
128 | PII query() { return v; }
| ^~~
smurfpaths.cpp: In constructor ‘SEG::SEG(long long int, long long int)’:
smurfpaths.cpp:87:9: error: ‘v’ was not declared in this scope
87 | v={0, -1}; lazy=0;
| ^
smurfpaths.cpp: In member function ‘void SEG::update(long long int, int)’:
smurfpaths.cpp:102:13: error: ‘v’ was not declared in this scope
102 | v=val;
| ^
smurfpaths.cpp:108:9: error: ‘v’ was not declared in this scope
108 | v=max(lptr->v, rptr->v);
| ^
smurfpaths.cpp:108:21: error: ‘struct SEG’ has no member named ‘v’
108 | v