# 1번째 컴파일 단계
Alice.cpp: In function 'std::vector<std::pair<int, int> > Alice()':
Alice.cpp:9:12: error: 'pair' was not declared in this scope; did you mean 'std::pair'?
9 | vector<pair<int,int>> ans;
| ^~~~
| 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:5: error: 'vector' was not declared in this scope
9 | vector<pair<int,int>> ans;
| ^~~~~~
Alice.cpp:9:5: 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:17: error: expected primary-expression before 'int'
9 | vector<pair<int,int>> ans;
| ^~~
Alice.cpp:13:9: error: 'ans' was not declared in this scope
13 | ans.push_back({i,x});
| ^~~
Alice.cpp:17:12: error: 'ans' was not declared in this scope
17 | return ans;
| ^~~