0_0_33288031_30231.cpp: In function 'int main()': 0_0_33288031_30231.cpp:24:16: error: 'cnt' was not declared in this scope memset(cnt, 0, sizeof(cnt)); ^