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

Compile Error

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