mousetrap.cpp:5:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4996)
mousetrap.cpp: In function 'void dfs1(int, int)':
mousetrap.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < X[pos].size(); i++) {
~~^~~~~~~~~~~~~~~
mousetrap.cpp: In function 'int dfs2(int)':
mousetrap.cpp:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < Z[pos].size(); i++) {
~~^~~~~~~~~~~~~~~
mousetrap.cpp:60:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (vec.size() < GG) V = 0;
~~~~~~~~~~~^~~~
mousetrap.cpp: In function 'int main()':
mousetrap.cpp:87:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < lis[i].size(); j++) {
~~^~~~~~~~~~~~~~~
mousetrap.cpp:96:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~
mousetrap.cpp:96:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~~
mousetrap.cpp:101:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~
mousetrap.cpp:101:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~~
mousetrap.cpp:106:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~
mousetrap.cpp:106:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int j : lis[i]) used[j] = false; used[pl[i]] = false;
^~~~
mousetrap.cpp:65:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &A, &B);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
mousetrap.cpp:67:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &E[i], &F[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~