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