islands.cpp: In function 'int re(int)':
islands.cpp:23:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:21:9: warning: unused variable 'j' [-Wunused-variable]
21 | int i,j,fn;
| ^
islands.cpp: In function 'int re2(int)':
islands.cpp:40:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(i=0; i<rpat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:37:9: warning: unused variable 'j' [-Wunused-variable]
37 | int i,j,fn;
| ^
islands.cpp: In function 'int re3(int, int)':
islands.cpp:59:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:52:9: warning: unused variable 'j' [-Wunused-variable]
52 | int i,j,fn,fid;
| ^
islands.cpp: In function 'int re4(int, int, int)':
islands.cpp:84:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:83:9: warning: unused variable 'j' [-Wunused-variable]
83 | int i,j,fn,fid;
| ^
islands.cpp: In function 'int re5(int, int)':
islands.cpp:117:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:116:9: warning: unused variable 'j' [-Wunused-variable]
116 | int i,j,fn,fid;
| ^
islands.cpp: In function 'std::variant<bool, std::vector<int, std::allocator<int> > > find_journey(int, int, std::vector<int>, std::vector<int>)':
islands.cpp:182:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
182 | for(i=0; i<rpat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:186:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
186 | if(cup[fn] == pat[fn].size())
| ~~~~~~~~^~~~~~~~~~~~~~~~~
islands.cpp:197:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:209:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
209 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:240:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
240 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:279:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
279 | for(i=0; i<stc.size(); i++)
| ~^~~~~~~~~~~
islands.cpp:304:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
304 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:312:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
312 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:339:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
339 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:343:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
343 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:351:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
351 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:378:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
378 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:382:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
382 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:386:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
386 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:394:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
394 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:444:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
444 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:448:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
448 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:456:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
456 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:460:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
460 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:469:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
469 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:481:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
481 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:151:9: warning: unused variable 'j' [-Wunused-variable]
151 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^
islands.cpp:151:14: warning: unused variable 'cm' [-Wunused-variable]
151 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~
islands.cpp:151:20: warning: unused variable 'fm' [-Wunused-variable]
151 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~
islands.cpp:151:23: warning: unused variable 'cru' [-Wunused-variable]
151 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~~