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