swap.cpp:7:65: error: template argument 1 is invalid
7 | int init(int n, int m, vector<int> u, vector<int> v, vector<int w){
| ^
swap.cpp:7:65: error: template argument 2 is invalid
swap.cpp:7:65: error: template argument 1 is invalid
swap.cpp:7:65: error: template argument 2 is invalid
swap.cpp:7:65: error: template argument 1 is invalid
swap.cpp:7:65: error: template argument 2 is invalid
swap.cpp:7:54: error: 'vector' is not a type
7 | int init(int n, int m, vector<int> u, vector<int> v, vector<int w){
| ^~~~~~
swap.cpp:7:60: error: expected ',' or '...' before '<' token
7 | 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:8:27: error: 'w' was not declared in this scope
8 | N=n, M=m, U=u, V=v, W=w;
| ^
swap.cpp:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
9 | }
| ^