sightseeing.cpp: In function 'void prr()':
sightseeing.cpp:57:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a[t.x].size(); ++i)
~~^~~~~~~~~~~~~~~
sightseeing.cpp: In function 'void solv()':
sightseeing.cpp:70:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &qq);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sightseeing.cpp:74:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
sightseeing.cpp:82:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
~~~~~^~~~~~~~~~
sightseeing.cpp: In function 'void prr()':
sightseeing.cpp:42:13: warning: 't.ban::d' may be used uninitialized in this function [-Wmaybe-uninitialized]
ban t;
^
sightseeing.cpp:54:23: warning: 't.ban::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
} while (c[t.x]);
~~~~~^