oneway.cpp: In function 'void dfs(int, int)':
oneway.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0; i < tadj[u].size(); i++){
| ~~^~~~~~~~~~~~~~~~
oneway.cpp: In function 'void dfs_calc(int)':
oneway.cpp:51:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(int i = 0; i < adj[u].size(); i++){
| ~~^~~~~~~~~~~~~~~
oneway.cpp: In function 'int main()':
oneway.cpp:71:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i = 0; i < bridges.size(); i++){
| ~~^~~~~~~~~~~~~~~~
oneway.cpp:83:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i = 0; i < edges.size(); i++){
| ~~^~~~~~~~~~~~~~
oneway.cpp:60:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
oneway.cpp:63:24: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | int u,v; scanf("%d%d",&u,&v);
| ~~~~~^~~~~~~~~~~~~~
oneway.cpp:77:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
77 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
oneway.cpp:79:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | int x,y ; scanf("%d%d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~