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:19:9: warning: unused variable 'j' [-Wunused-variable]
19 | int i,j,fn;
| ^
islands.cpp: In function 'int re2(int)':
islands.cpp:38:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(i=0; i<rpat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~~
islands.cpp:35:9: warning: unused variable 'j' [-Wunused-variable]
35 | int i,j,fn;
| ^
islands.cpp: In function 'int re3(int, int)':
islands.cpp:57:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:50:9: warning: unused variable 'j' [-Wunused-variable]
50 | int i,j,fn;
| ^
islands.cpp: In function 'int re4(int, int, int)':
islands.cpp:81:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:80:9: warning: unused variable 'j' [-Wunused-variable]
80 | int i,j,fn,fid;
| ^
islands.cpp: In function 'int re5(int, int)':
islands.cpp:114:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
islands.cpp:113:9: warning: unused variable 'j' [-Wunused-variable]
113 | 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:166:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
166 | for(i=0; i<pat[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:208:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
208 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:216:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
216 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:238:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
238 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:242:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
242 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:250:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
250 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:267:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
267 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:271:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
271 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:275:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
275 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:283:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
283 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:305:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:309:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:317:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
317 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:321:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
321 | for(i=0; i<lii[3].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[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:342:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
342 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:147:9: warning: unused variable 'j' [-Wunused-variable]
147 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^
islands.cpp:147:14: warning: unused variable 'cm' [-Wunused-variable]
147 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:147:17: warning: unused variable 'fn' [-Wunused-variable]
147 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:147:20: warning: unused variable 'fm' [-Wunused-variable]
147 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:147:23: warning: unused variable 'cru' [-Wunused-variable]
147 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~~