Village.cpp: In function 'bool dfs(long long int, long long int)':
Village.cpp:21:21: 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]
21 | for (int i = 0 ; i < c.size()/2 ; i++) {
| ~~^~~~~~~~~~~~
Village.cpp: In function 'int main()':
Village.cpp:87:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
87 | for (auto i : minans) cout << i+1 << " "; cout << "\n";
| ^~~
Village.cpp:87:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
87 | for (auto i : minans) cout << i+1 << " "; cout << "\n";
| ^~~~
Village.cpp:88:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
88 | for (auto i : maxans) cout << i+1 << " "; cout << "\n";
| ^~~
Village.cpp:88:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
88 | for (auto i : maxans) cout << i+1 << " "; cout << "\n";
| ^~~~