indcyc.cpp: In function 'void solve(std::vector<int>&, int)':
indcyc.cpp:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v.size();j++){
^
indcyc.cpp:14:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v.size();k++){
^
indcyc.cpp:21: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:35: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:38:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&u,&v);
^