swap.cpp:6:65: error: template argument 1 is invalid
6 | int init(int n, int m, vector<int> u, vector<int> v, vector<int w){
| ^
swap.cpp:6:65: error: template argument 2 is invalid
swap.cpp:6:65: error: template argument 1 is invalid
swap.cpp:6:65: error: template argument 2 is invalid
swap.cpp:6:65: error: template argument 1 is invalid
swap.cpp:6:65: error: template argument 2 is invalid
swap.cpp:6:54: error: 'vector' is not a type
6 | int init(int n, int m, vector<int> u, vector<int> v, vector<int w){
| ^~~~~~
swap.cpp:6:60: error: expected ',' or '...' before '<' token
6 | int init(int n, int m, vector<int> u, vector<int> v, vector<int w){
| ^
swap.cpp: In function 'int init(int, int, std::vector<int>, std::vector<int>, int)':
swap.cpp:7:1: warning: no return statement in function returning non-void [-Wreturn-type]
7 | }
| ^