dungeons.cpp: In function 'void init(int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
dungeons.cpp:20:12: warning: overflow in conversion from 'long long int' to 'std::set<int>::value_type' {aka 'int'} changes value from '9223372036854775807' to '-1' [-Woverflow]
20 | st.insert(LLONG_MAX);
| ^~~~~~~~~
dungeons.cpp:25:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i=0;i<vals.size();i++){
| ~^~~~~~~~~~~~
dungeons.cpp: In function 'long long int simulate(int, int)':
dungeons.cpp:49:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | while(ind+1<vals.size()&&vals[ind+1]<=z)ind++;
| ~~~~~^~~~~~~~~~~~
dungeons.cpp:51:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | if(ind+1<vals.size()&&vals[ind+1]<=z){
| ~~~~~^~~~~~~~~~~~
dungeons.cpp:56:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if(ind+1==vals.size()||z+lift[ind][x][i]<vals[ind+1]){
| ~~~~~^~~~~~~~~~~~~