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:73:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(int i=0; i<st[x].size(); i++){
| ~^~~~~~~~~~~~~
potion.cpp:76:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int i=0; i<st[y].size(); i++){
| ~^~~~~~~~~~~~~
potion.cpp:82:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | if(posx >= st[x].size() || posy <= 0 || st[x][posx] >= v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:83:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | if(posy >= st[y].size() || posy <= 0 || st[y][posy] >= v) return 1e9;
| ~~~~~^~~~~~~~~~~~~~~
potion.cpp:92:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int i=0; i<sx.size(); i++){
| ~^~~~~~~~~~
potion.cpp:93:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare]
93 | for(int l=0; l<sy.size(); l++){
| ~^~~~~~~~~~
potion.cpp:86:9: warning: unused variable 'lx' [-Wunused-variable]
86 | int lx=0, ly=0;
| ^~
potion.cpp:86:15: warning: unused variable 'ly' [-Wunused-variable]
86 | int lx=0, ly=0;
| ^~