Problem gerrymandering
User Pan
Submission Time 2024-02-22 13:31:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gerrymandering.cpp: In function ‘int main()’:
gerrymandering.cpp:104:25: error: ‘sum’ was not declared in this scope
104 | ans=max(ans,min(k-zero,sum));
| ^~~