| Problem | gerrymandering |
|---|---|
| User | YH |
| Submission Time | 2026-02-19 21:49:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gerrymandering.cpp:70:13: error: array bound is not an integer constant before ‘]’ token
70 | ll st[8*n+4];
| ^
gerrymandering.cpp: In constructor ‘SegmentTree::SegmentTree()’:
gerrymandering.cpp:73:10: error: ‘st’ was not declared in this scope; did you mean ‘std’?
73 | memset(st, -INF, sizeof(st));
| ^~
| std
gerrymandering.cpp: In member function ‘ll SegmentTree::query(ll, ll, ll, ll, ll)’:
gerrymandering.cpp:78:34: error: ‘st’ was not declared in this scope; did you mean ‘std’?
78 | if (tl >= l && tr <= r) return st[node];
| ^~
| std
gerrymandering.cpp: In member function ‘void SegmentTree::update(ll, ll, ll, ll, ll)’:
gerrymandering.cpp:87:4: error: ‘st’ was not declared in this scope; did you mean ‘std’?
87 | st[node] = max(st[node], val);
| ^~
| std
gerrymand