0_0_27056500_10278.cpp: In function 'int countMaxSameNumber(const int*)': 0_0_27056500_10278.cpp:34:44: error: 'memset' was not declared in this scope memset(countArray , 0 ,sizeof(countArray) ) ; ^