Problem funnyhat
User wongyikai
Submission Time 2025-02-20 10:58:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp: In function ‘int get_centroid(int, int)’:
funnyhat.cpp:23:20: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
23 | if (sz[chi]*2 > n) {
| ^
| yn