stations.cpp:8:62: error: 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)' redeclared as different kind of entity
8 | vector <int> label(int n, int k, vector<int> u, vector<int> v)
| ^
stations.cpp:6:16: note: previous declaration 'int label [1111]'
6 | int pass[1111],label[1111];
| ^~~~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:15:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(i=0;i<u.size();i++)
| ~^~~~~~~~~
stations.cpp:34:12: error: could not convert 'label' from 'int [1111]' to 'std::vector<int>'
34 | return label;
| ^~~~~
| |
| int [1111]