0_0_36241586_24619.cpp:4:11: error: '::main' must return 'int' void main(){ ^ 0_0_36241586_24619.cpp: In function 'int main()': 0_0_36241586_24619.cpp:7:25: error: 'memset' was not declared in this scope memset(s,0,sizeof(s)); ^