# 1번째 컴파일 단계
advisor.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
advisor.cpp:19:9: error: 'pair' was not declared in this scope
19 | set<pair<int,int>> se;
| ^~~~
advisor.cpp:19:5: error: 'set' was not declared in this scope
19 | set<pair<int,int>> se;
| ^~~
advisor.cpp:19:14: error: expected primary-expression before 'int'
19 | set<pair<int,int>> se;
| ^~~
advisor.cpp:21:9: error: 'se' was not declared in this scope
21 | se.insert({nxt[i],i});
| ^~
advisor.cpp:24:18: error: expected primary-expression before 'int'
24 | set<pair<int,int>>::iterator it=se.begin();
| ^~~
advisor.cpp:25:14: error: 'it' was not declared in this scope; did you mean 'i'?
25 | if((*it).first==i){
| ^~
| i
advisor.cpp:26:13: error: 'se' was not declared in this scope
26 | se.erase(it);
| ^~
advisor.cpp:29:16: error: 'se' was not declared in this scope
29 | it=se.end();
| ^~
advisor.cpp:34:9: error: 'se' was not declared in this scope
34 | se.insert({nxt[i],i});
| ^~
advisor.cpp:39:13: error: 'WriteAdvice' was not declared in this scope; did you mean 'ComputeAdvice'?
39 | WriteAdvice(bruh0);
| ^~~~~~~~~~~
| ComputeAdvice
advisor.cpp:42:13: error: 'WriteAdvice' was not declared in this scope; did you mean 'ComputeAdvice'?
42 | WriteAdvice(bruh1);
| ^~~~~~~~~~~
| ComputeAdvice