indcyc.cpp: In function 'int main()':
indcyc.cpp:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
indcyc.cpp:27:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int j = 0; j < v.size(); j++) {
| ~~^~~~~~~~~~
indcyc.cpp:31:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0; i < v.size(); i++) if(cnt[i] != 2) goto end2;
| ~~^~~~~~~~~~
indcyc.cpp:32:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
indcyc.cpp:33:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int j = 0; j < v.size(); j++) {
| ~~^~~~~~~~~~
indcyc.cpp:34:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int k = 0; k < v.size(); k++) {
| ~~^~~~~~~~~~
indcyc.cpp:41:15: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
41 | if(v.size() < sz) {
| ~~~~~~~~~^~~~
indcyc.cpp:24:7: warning: argument to variable-length array may be too large [-Wvla-larger-than=]
24 | int cnt[v.size()];
| ^~~