# 1번째 컴파일 단계
Alice.cpp: In function 'std::vector<std::pair<int, int> > Alice()':
Alice.cpp:9:17: error: 'pair' was not declared in this scope; did you mean 'std::pair'?
9 | vector <pair<int,int>> edges;
| ^~~~
| std::pair
In file included from /usr/include/c++/13/bits/stl_algobase.h:64,
from /usr/include/c++/13/vector:62,
from Alice.cpp:1:
/usr/include/c++/13/bits/stl_pair.h:187:12: note: 'std::pair' declared here
187 | struct pair
| ^~~~
Alice.cpp:9:9: error: 'vector' was not declared in this scope
9 | vector <pair<int,int>> edges;
| ^~~~~~
Alice.cpp:9:9: note: suggested alternatives:
In file included from /usr/include/c++/13/vector:66:
/usr/include/c++/13/bits/stl_vector.h:428:11: note: 'std::vector'
428 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/usr/include/c++/13/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
Alice.cpp:9:22: error: expected primary-expression before 'int'
9 | vector <pair<int,int>> edges;
| ^~~
Alice.cpp:12:17: error: 'edges' was not declared in this scope
12 | edges.push_back({i, x});
| ^~~~~
Alice.cpp:14:16: error: 'edges' was not declared in this scope
14 | return edges;
| ^~~~~