islands.cpp: In function 'int setu(int)':
islands.cpp:21:9: warning: unused variable 'j' [-Wunused-variable]
21 | int i,j;
| ^
islands.cpp: In function 'int re(int)':
islands.cpp:32:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:30:9: warning: unused variable 'j' [-Wunused-variable]
30 | int i,j,fn;
| ^
islands.cpp: In function 'int re2(int)':
islands.cpp:49:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(i=0; i<rpat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:46:9: warning: unused variable 'j' [-Wunused-variable]
46 | int i,j,fn;
| ^
islands.cpp: In function 'int re3(int, int)':
islands.cpp:68:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:61:9: warning: unused variable 'j' [-Wunused-variable]
61 | int i,j,fn,fid;
| ^
islands.cpp: In function 'int re4(int, int, int)':
islands.cpp:94:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:92:9: warning: unused variable 'j' [-Wunused-variable]
92 | int i,j,fn,fid;
| ^
islands.cpp: In function 'int re5(int, int)':
islands.cpp:129:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:127:9: warning: unused variable 'j' [-Wunused-variable]
127 | 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:195:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
195 | for(i=0; i<rpat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:199:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
199 | if(cup[fn] == pat[fn].size())
| ~~~~~~~~^~~~~~~~~~~~~~~~~
islands.cpp:210:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
210 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:222:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
222 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:253:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
253 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:292:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
292 | for(i=0; i<stc.size(); i++)
| ~^~~~~~~~~~~
islands.cpp:319:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
319 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:327:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
327 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:355:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
355 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:359:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
359 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:367:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
367 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:396:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
396 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:400:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
400 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:404:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
404 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:412:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
412 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:466:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
466 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:470:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
470 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:478:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
478 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:482:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
482 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:491:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
491 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:503:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
503 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:164:9: warning: unused variable 'j' [-Wunused-variable]
164 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^
islands.cpp:164:14: warning: unused variable 'cm' [-Wunused-variable]
164 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~
islands.cpp:164:20: warning: unused variable 'fm' [-Wunused-variable]
164 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~
islands.cpp:164:23: warning: unused variable 'cru' [-Wunused-variable]
164 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0,cst,ccou;
| ^~~