bitaro.cpp: In function 'int main()':
bitaro.cpp:39:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | while(id[v]<res[v].size() and out[res[v][id[v]].first]) id[v]++;
| ~~~~~^~~~~~~~~~~~~~
bitaro.cpp:40:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(id[v]<res[v].size() and res[v][id[v]].second+1>mx.second) mx = {res[v][id[v]].first,res[v][id[v]].second+1};
| ~~~~~^~~~~~~~~~~~~~
bitaro.cpp:57:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int j = 0;j < res[i].size()-1;j++) assert(res[i][j].second>=res[i][j+1].second);
| ~~^~~~~~~~~~~~~~~~~
bitaro.cpp:70:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
70 | for(auto [x,y] : res[u]) if(!out[x]){ cout << y << '\n'; break; }
| ^