foo.cpp:1:1: error: 'include' does not name a type
foo.cpp:6:1: error: 'string' does not name a type
foo.cpp: In function 'void init()':
foo.cpp:14:1: error: 'cin' was not declared in this scope
foo.cpp:14:6: error: 's' was not declared in this scope
foo.cpp: In function 'void multi(int*, int*)':
foo.cpp:23:21: error: 'memset' was not declared in this scope
foo.cpp:37:21: error: 'memcpy' was not declared in this scope
foo.cpp: In function 'void solve()':
foo.cpp:58:25: error: 'memcpy' was not declared in this scope
foo.cpp:59:27: error: 'memset' was not declared in this scope
foo.cpp:74:1: error: 'cout' was not declared in this scope
foo.cpp:74:11: error: 'endl' was not declared in this scope
foo.cpp:75:7: error: 'exit' was not declared in this scope
foo.cpp: In function 'void dmulti(int*, int)':
foo.cpp:83:21: error: 'memset' was not declared in this scope
foo.cpp:90:21: error: 'memcpy' was not declared in this scope
foo.cpp: In function 'void print()':
foo.cpp:102:18: error: 'cout' was not declared in this scope