0_0_34681826_126.cpp: In function 'int main()':
0_0_34681826_126.cpp:40:27: error: 'memset' was not declared in this scope
memset(map,0,sizeof(map));
^
0_0_34681826_126.cpp:45:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n),n)
^
0_0_34681826_126.cpp:46:22: error: 'printf' was not declared in this scope
printf("%d\n",sol[n]);
^
|