stations.cpp: In function 'int main()':
stations.cpp:26:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d",&n);vec s;
| ~~~~~^~~~~~~~~
stations.cpp:27:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
27 | for(int i=1;i<=n*2;i++) {scanf("%d%d",&a[i],&b[i]);s.push_back(i);}
| ~~~~~^~~~~~~~~~~~~~~~~~~~
/tmp/cc6HyWpF.o: In function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccB9p12y.o:stations.cpp:(.text.startup+0x0): first defined here
/tmp/cc6HyWpF.o: In function `main':
stub.cpp:(.text.startup+0x29a): undefined reference to `label(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
stub.cpp:(.text.startup+0x4bc): undefined reference to `find_next_station(int, int, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status