cat.cpp: In function 'int main()':
cat.cpp:43:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (i = 0; i < cycle[0].size(); i++){
| ~~^~~~~~~~~~~~~~~~~
cat.cpp:50:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for (i = 0; i < cycle[0].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
cat.cpp:52:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (j = 0; k < cycle[1].size(); j++, k++){
| ~~^~~~~~~~~~~~~~~~~
cat.cpp:59:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | if (i == cycle[0].size())
| ~~^~~~~~~~~~~~~~~~~~
cat.cpp:61:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if (j == cycle[1].size())
| ~~^~~~~~~~~~~~~~~~~~
cat.cpp:68:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for (i = 1; i < same.size() - 1; i++){
| ~~^~~~~~~~~~~~~~~~~
cat.cpp:72:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for (i = 0; i < same.size();i++){
| ~~^~~~~~~~~~~~~
cat.cpp:81:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (j = 0; j < adjList[same[i]].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
cat.cpp:41:6: warning: unused variable 'start' [-Wunused-variable]
41 | int start = 0, fin = 0;
| ^~~~~
cat.cpp:41:17: warning: unused variable 'fin' [-Wunused-variable]
41 | int start = 0, fin = 0;
| ^~~
cat.cpp: In function 'void dfs(int)':
cat.cpp:124:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for (i = 0; i < adjList[current.nd].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cat.cpp:95:12: warning: unused variable 'ans' [-Wunused-variable]
95 | int i, j, ans;
| ^~~
cat.cpp: In function 'int main()':
cat.cpp:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
29 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
cat.cpp:33:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%d %d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~