train.cpp: In function 'bool solve_one(std::vector<int>, int, std::vector<int>, std::vector<int>)':
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:41:6:
rep(i,u.size()){
~~~~~~~~~~
train.cpp:41:2: note: in expansion of macro 'rep'
rep(i,u.size()){
^~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:47:6:
rep(i,redge[V].size()){
~~~~~~~~~~~~~~~~~
train.cpp:47:2: note: in expansion of macro 'rep'
rep(i,redge[V].size()){
^~~
train.cpp:59:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(used[q]) continue; used[q] = 1;
^~
train.cpp:59:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(used[q]) continue; used[q] = 1;
^~~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:60:7:
rep(i,redge[q].size()){
~~~~~~~~~~~~~~~~~
train.cpp:60:3: note: in expansion of macro 'rep'
rep(i,redge[q].size()){
^~~
train.cpp: In function 'std::vector<int> who_wins(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:81:6:
rep(i,r.size()){
~~~~~~~~~~
train.cpp:81:2: note: in expansion of macro 'rep'
rep(i,r.size()){
^~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:87:6:
rep(i,r.size()){
~~~~~~~~~~
train.cpp:87:2: note: in expansion of macro 'rep'
rep(i,r.size()){
^~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:90:7:
rep(j,u.size()){
~~~~~~~~~~
train.cpp:90:3: note: in expansion of macro 'rep'
rep(j,u.size()){
^~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:104:6:
rep(i,u.size()){
~~~~~~~~~~
train.cpp:104:2: note: in expansion of macro 'rep'
rep(i,u.size()){
^~~
train.cpp:111:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(used[q]) continue; used[q] = 1;
^~
train.cpp:111:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(used[q]) continue; used[q] = 1;
^~~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:112:7:
rep(i,redge[q].size()){
~~~~~~~~~~~~~~~~~
train.cpp:112:3: note: in expansion of macro 'rep'
rep(i,redge[q].size()){
^~~
train.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,x) for(int i=0;i<x;i++)
train.cpp:121:22:
vector<int>ret; rep(i,a.size()) if(!used[i]) ret.pb(0);else ret.pb(1);
~~~~~~~~~~
train.cpp:121:18: note: in expansion of macro 'rep'
vector<int>ret; rep(i,a.size()) if(!used[i]) ret.pb(0);else ret.pb(1);
^~~