potion.cpp: In function 'void curseChanges(int, int*, int*)':
potion.cpp:42: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]
42 | for(int l=0; l<adj[i].size(); l++){
| ~^~~~~~~~~~~~~~
potion.cpp: In function 'int question(int, int, int)':
potion.cpp:79:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | if(posx >= st[x].size() || posy <= 0 || st[x][posx] > v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:80:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | if(posy >= st[y].size() || posy <= 0 || st[y][posy] > v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:85:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | while(lx<sx.size() && sx[lx]=='0') lx++;
| ~~^~~~~~~~~~
potion.cpp:86:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | while(ly<sy.size() && sy[ly]=='0') ly++;
| ~~^~~~~~~~~~
potion.cpp:90:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | while(lx<sx.size() && ly < sy.size()){
| ~~^~~~~~~~~~
potion.cpp:90:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | while(lx<sx.size() && ly < sy.size()){
| ~~~^~~~~~~~~~~
potion.cpp:98:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
98 | while(lx<sx.size() && sx[lx]=='0') lx++;
| ~~^~~~~~~~~~
potion.cpp:102:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | while(ly<sy.size() && sy[ly]=='0') ly++;
| ~~^~~~~~~~~~