potion.cpp: In function 'void curseChanges(int, int*, int*)':
potion.cpp:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int l=0; l<adj[i].size(); l++){
| ~^~~~~~~~~~~~~~
potion.cpp: In function 'int question(int, int, int)':
potion.cpp:76:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | if(posx >= st[x].size() || posy <= 0 || st[x][posx] > v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:77:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if(posy >= st[y].size() || posy <= 0 || st[y][posy] > v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:82:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
82 | while(lx<sx.size() && sx[lx]==0) lx++;
| ~~^~~~~~~~~~
potion.cpp:83:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
83 | while(ly<sy.size() && sy[ly]==0) ly++;
| ~~^~~~~~~~~~
potion.cpp:87:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
87 | while(lx<sx.size() && ly < 500){
| ~~^~~~~~~~~~
potion.cpp:95:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
95 | while(lx<sx.size() && sx[lx]==0) lx++;
| ~~^~~~~~~~~~
potion.cpp:99:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
99 | while(ly<sy.size() && sy[ly]==0) ly++;
| ~~^~~~~~~~~~