0_0_38527968_28356.cpp: In function 'void solve()': 0_0_38527968_28356.cpp:83:27: error: 'cnt' was not declared in this scope for (int i = n - 1; i >= cnt; i--) ^