Problem | swap |
---|---|
User | Xiaoyang |
Submission Time | 2023-02-12 14:30:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swap.cpp:1:1: error: ‘vector’ does not name a type
1 | vector<pll>alist[111111];
| ^~~~~~
swap.cpp:2:25: error: ‘std::vector’ has not been declared
2 | void init(int N, int M, std::vector<int> U, std::vector<int> V, std::vector<int> W) {
| ^~~
swap.cpp:2:36: error: expected ‘,’ or ‘...’ before ‘<’ token
2 | void init(int N, int M, std::vector<int> U, std::vector<int> V, std::vector<int> W) {
| ^
swap.cpp: In function ‘void init(int, int, int)’:
swap.cpp:3:6: error: ‘i’ was not declared in this scope
3 | rep(i,0,M){
| ^
swap.cpp:3:2: error: ‘rep’ was not declared in this scope
3 | rep(i,0,M){
| ^~~