cat.cpp: In function 'll f(ll, ll)':
cat.cpp:16:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < gr[p].size(); i++) {
~~^~~~~~~~~~~~~~
cat.cpp: In function 'bool g(ll, ll)':
cat.cpp:30:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < gr[p].size(); i++) {
~~^~~~~~~~~~~~~~
cat.cpp:27:12: warning: unused variable 't' [-Wunused-variable]
ll i, ne, t;
^
cat.cpp: In function 'int main()':
cat.cpp:45:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t1, &t2);
~~~~~^~~~~~~~~~~~~~~~~~~