Problem gerrymandering
User jmuzhen
Submission Time 2025-12-23 21:44:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gerrymandering.cpp: In instantiation of ‘T SegTree<T>::query(int, int) [with T = int]’:
gerrymandering.cpp:76:78: required from here
gerrymandering.cpp:38:18: error: ‘fn’ was not declared in this scope; did you mean ‘n’?
38 | return fn(lv,rv);
| ~~^~~~~~~
| n