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:172:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
172 | for(i=0; i<pat[0].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[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:224:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
224 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:247:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
247 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:251:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
251 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:259:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
259 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:278:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
278 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:282:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
282 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:286:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
286 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:294:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
294 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:336:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
336 | for(i=0; i<lii[0].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:340:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
340 | for(i=0; i<lii[2].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:348:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
348 | for(i=0; i<lii[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:352:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
352 | for(i=0; i<lii[3].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:361:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
361 | for(i=0; i<lii[0].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[1].size(); i++)
| ~^~~~~~~~~~~~~~
islands.cpp:148:9: warning: unused variable 'j' [-Wunused-variable]
148 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^
islands.cpp:148:14: warning: unused variable 'cm' [-Wunused-variable]
148 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:148:17: warning: unused variable 'fn' [-Wunused-variable]
148 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:148:20: warning: unused variable 'fm' [-Wunused-variable]
148 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~
islands.cpp:148:23: warning: unused variable 'cru' [-Wunused-variable]
148 | int i,j,cn,cm,fn,fm,cru = 0,fou = 0;
| ^~~