onward.cpp: In function 'bool check(int, int)':
onward.cpp:12:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i].size() < k || v[j].size() < k) return false;
^
onward.cpp:12:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i].size() < k || v[j].size() < k) return false;
^
onward.cpp:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int ii = 0; ii <= v[i].size()-k; ii++)
^
onward.cpp:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int jj = 0; jj <= v[j].size()-k; jj++)
^
onward.cpp: In function 'void dfs(int, int)':
onward.cpp:25:14: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
for(int it: graph[idx])
^
onward.cpp:27:14: warning: 'it' is used uninitialized in this function [-Wuninitialized]
if(color[it] == c)
^