islands.cpp: In function 'int re(int)':
islands.cpp:25:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | 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:227:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
227 | for(i=0; i<pat[cst].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:266:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
266 | for(i=0; i<stc.size(); i++)
| ~^~~~~~~~~~~
islands.cpp:291:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
291 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:299:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
299 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:326:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
326 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:330:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
330 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:338:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
338 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:365:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
365 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:369:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
369 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:373:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
373 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:381:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
381 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:431:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
431 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:435:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
435 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:443:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
443 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:447:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
447 | for(i=0; i<lii[3].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[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:468:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
468 | 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;
| ^~~