# 2번째 컴파일 단계
Baijan.cpp:8:1: error: 'vector' does not name a type
8 | vector<int> DistanceB;
| ^~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
Baijan.cpp:9:8: error: 'priority_queue' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~~~~~~~~~
Baijan.cpp:9:23: error: 'pair' was not declared in this scope
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~
Baijan.cpp:9:1: error: 'vector' does not name a type
9 | vector<priority_queue<pair<int,int>>> EdgesB;
| ^~~~~~
Baijan.cpp:17:1: error: 'pair' does not name a type
17 | pair<int,int> GetClosestB(vector<int>& Distance,vector<priority_queue<pair<int,int>>>& Edges){
| ^~~~
Baijan.cpp:37:26: error: 'std::vector' has not been declared
37 | void InitB(int N, int B, std::vector<int> U, std::vector<int> V, std::vector<int> C){
| ^~~
Baijan.cpp:37:37: error: expected ',' or '...' before '<' token
37 | void InitB(int N, int B, std::vector<int> U, std::vector<int> V, std::vector<int> C){
| ^
Baijan.cpp: In function 'void InitB(int, int, int)':
Baijan.cpp:38:5: error: 'DistanceB' was not declared in this scope
38 | DistanceB=vector<int>(N,-1);
| ^~~~~~~~~
Baijan.cpp:38:15: error: 'vector' was not declared in this scope
38 | DistanceB=vector<int>(N,-1);
| ^~~~~~~~~~~
Baijan.cpp:40:5: error: 'EdgesB' was not declared in this scope
40 | EdgesB=vector<priority_queue<pair<int,int>>>(N);
| ^~~~~~
Baijan.cpp:40:34: error: 'pair' was not declared in this scope
40 | EdgesB=vector<priority_queue<pair<int,int>>>(N);
| ^~~~
Baijan.cpp:40:19: error: 'priority_queue' was not declared in this scope
40 | EdgesB=vector<priority_queue<pair<int,int>>>(N);
| ^~~~~~~~~~~~~~
Baijan.cpp:40:39: error: expected primary-expression before 'int'
40 | EdgesB=vector<priority_queue<pair<int,int>>>(N);
| ^~~
Baijan.cpp:42:16: error: 'U' was not declared in this scope
42 | EdgesB[U[i]].push({-C[i],V[i]});
| ^
Baijan.cpp:42:29: error: 'C' was not declared in this scope
42 | EdgesB[U[i]].push({-C[i],V[i]});
| ^
Baijan.cpp:42:34: error: 'V' was not declared in this scope
42 | EdgesB[U[i]].push({-C[i],V[i]});
| ^
Baijan.cpp:45:10: error: expected primary-expression before 'int'
45 | pair<int,int> A=GetClosestB(DistanceB,EdgesB);
| ^~~
Baijan.cpp:48:13: error: 'A' was not declared in this scope
48 | if((A.first & (1<<i))==0){
| ^
Baijan.cpp: In function 'void ReceiveB(bool)':
Baijan.cpp:62:13: error: 'pair' was not declared in this scope
62 | pair<int,int> A=GetClosestB(DistanceB,EdgesB);
| ^~~~
Baijan.cpp:62:18: error: expected primary-expression before 'int'
62 | pair<int,int> A=GetClosestB(DistanceB,EdgesB);
| ^~~
Baijan.cpp:65:21: error: 'A' was not declared in this scope
65 | if((A.second & (1<<i))==0){
| ^
Baijan.cpp:73:23: error: 'A' was not declared in this scope
73 | baseDistB=A.first;
| ^
Baijan.cpp:74:13: error: 'DistanceB' was not declared in this scope
74 | DistanceB[A.second]=A.first;
| ^~~~~~~~~
Baijan.cpp:76:37: error: 'EdgesB' was not declared in this scope
76 | A=GetClosestB(DistanceB,EdgesB);
| ^~~~~~
Baijan.cpp:76:15: error: 'GetClosestB' was not declared in this scope
76 | A=GetClosestB(DistanceB,EdgesB);
| ^~~~~~~~~~~
Baijan.cpp:121:13: error: 'DistanceB' was not declared in this scope
121 | DistanceB[valueB]=baseDistB;
| ^~~~~~~~~
Baijan.cpp:126:13: error: 'pair' was not declared in this scope
126 | pair<int,int>A=GetClosestB(DistanceB,EdgesB);
| ^~~~
Baijan.cpp:126:18: error: expected primary-expression before 'int'
126 | pair<int,int>A=GetClosestB(DistanceB,EdgesB);
| ^~~
Baijan.cpp:129:22: error: 'A' was not declared in this scope
129 | if(((A.first-baseDistB) & (1<<i))==0){
| ^