# 1번째 컴파일 단계
Anna.cpp: In function 'void Anna(int, long long int, int, int*)':
Anna.cpp:4:3: error: 'memset' was not declared in this scope
4 | memset(block,0,sizeof(block));
| ^~~~~~
Anna.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | void Anna( int N, long long X, int K, int P[] ){
Anna.cpp:7:3: error: 'vector' was not declared in this scope
7 | vector<int> e;
| ^~~~~~
Anna.cpp:7:10: error: expected primary-expression before 'int'
7 | vector<int> e;
| ^~~
Anna.cpp:10:7: error: 'e' was not declared in this scope
10 | e.push_back(i);
| ^
Anna.cpp:18:11: error: 'e' was not declared in this scope
18 | Set(e[ind],1);
| ^
Anna.cpp:18:7: error: 'Set' was not declared in this scope
18 | Set(e[ind],1);
| ^~~
Anna.cpp:24:11: error: 'e' was not declared in this scope
24 | Set(e[ind],1);
| ^
Anna.cpp:24:7: error: 'Set' was not declared in this scope
24 | Set(e[ind],1);
| ^~~
Anna.cpp:33:21: error: 'Set' was not declared in this scope
33 | if (done[i]==0) Set(i,0);
| ^~~