indcyc.cpp: In function 'void print_path(int, int, int)':
indcyc.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[here].size();i++) {
^
indcyc.cpp: In function 'void dfs(int, int)':
indcyc.cpp:54:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[here].size();i++) {
^
indcyc.cpp: In function 'bool good(int)':
indcyc.cpp:64:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<vec.size();i++) {
^
indcyc.cpp:65:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=i+1;j<vec.size();j++) {
^
indcyc.cpp: In function 'bool check(int)':
indcyc.cpp:80:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[v].size();i++) chk[lis[v][i]] = true;
^
indcyc.cpp:81:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[v].size();i++) {
^
indcyc.cpp:83:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<lis[q].size();j++) {
^
indcyc.cpp:89:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[v].size();i++) {
^
indcyc.cpp:91:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<lis[q].size();j++) {
^
indcyc.cpp:99:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[v].size();i++) {
^
indcyc.cpp:101:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<lis[q].size();j++) {
^
indcyc.cpp:108:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<lis[v].size();i++) chk[lis[v][i]] = false;
^
indcyc.cpp: In function 'int main()':
indcyc.cpp:117:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
indcyc.cpp:120:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^