Main.cpp: In function 'bool trya(long long int)':
Main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i = 0; i < g[h].size(); i++) {
| ~~^~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:47:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 0; i < res.size(); i++) cout << res[i] << " \n"[i+1==(int)v.size()];
| ~~^~~~~~~~~~~~
Main.cpp:47:80: error: 'v' was not declared in this scope
47 | for (int i = 0; i < res.size(); i++) cout << res[i] << " \n"[i+1==(int)v.size()];
| ^