0_0_13890232_16678.cpp: In function 'int main()': 0_0_13890232_16678.cpp:19:37: error: 'memset' was not declared in this scope memset(count,0,sizeof(int)*(j-i+1)); ^