indcyc.cpp: In function 'void DFS(int, std::vector<int>&)':
indcyc.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++){
^
indcyc.cpp: In function 'void solve(std::vector<int>&, int)':
indcyc.cpp:27:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(num != v.size()) return;
^
indcyc.cpp:28:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v.size();j++){
^
indcyc.cpp:30:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v.size();k++){
^
indcyc.cpp:37:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++) printf((i == 0 ? "%d" : " %d"),v[i]);
^
indcyc.cpp: In function 'int main()':
indcyc.cpp:51:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
indcyc.cpp:54:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&u,&v);
^