bitaro.cpp: In function 'void dfs(int, int)':
bitaro.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[v].size(); i++)
~~^~~~~~~~~~~~~
bitaro.cpp: At global scope:
bitaro.cpp:30:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
bitaro.cpp: In function 'int main()':
bitaro.cpp:40:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
~~~~~^~~~~~~~~~~~~~~~
bitaro.cpp:49:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &t, &k);
~~~~~^~~~~~~~~~~~~~~~
bitaro.cpp:54:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
~~~~~^~~~~~~~~~