0_0_21708051_10287.cpp: In constructor 'minCost::minCost(int)': 0_0_21708051_10287.cpp:53:10: error: 'cnt' was not declared in this scope cnt.resize(n); ^