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