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