0_0_27056495_32366.cpp: In function 'int count(int*)': 0_0_27056495_32366.cpp:31:29: error: 'memset' was not declared in this scope memset(cnt,0,sizeof(cnt)); ^