bitaro.cpp: In function 'void merge_lists(std::vector<std::pair<long long int, long long int> >&, const std::vector<std::pair<long long int, long long int> >&)':
bitaro.cpp:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((p1 < result.size() || p2 < add.size()) && r.size() < root)
~~~^~~~~~~~~~~~~~~
bitaro.cpp:36:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((p1 < result.size() || p2 < add.size()) && r.size() < root)
~~~^~~~~~~~~~~~
bitaro.cpp:36:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((p1 < result.size() || p2 < add.size()) && r.size() < root)
~~~~~~~~~^~~~~~
bitaro.cpp:38:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p1 == result.size())
~~~^~~~~~~~~~~~~~~~
bitaro.cpp:45:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(p2 == add.size())
~~~^~~~~~~~~~~~~
bitaro.cpp:14:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
bitaro.cpp:70:9:
rep(i,0,result.size())
~~~~~~~~~~~~~~~~~
bitaro.cpp:70:5: note: in expansion of macro 'rep'
rep(i,0,result.size())
^~~
bitaro.cpp: In function 'void precalc()':
bitaro.cpp:14:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
bitaro.cpp:82:13:
rep(j,0,graph[i].size())
~~~~~~~~~~~~~~~~~~~
bitaro.cpp:82:9: note: in expansion of macro 'rep'
rep(j,0,graph[i].size())
^~~
bitaro.cpp: In function 'int solve_smart(int)':
bitaro.cpp:14:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
bitaro.cpp:105:13:
rep(j,0,graph[i].size())
~~~~~~~~~~~~~~~~~~~
bitaro.cpp:105:9: note: in expansion of macro 'rep'
rep(j,0,graph[i].size())
^~~
bitaro.cpp: In function 'int solve_simple(int)':
bitaro.cpp:14:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
bitaro.cpp:121:9:
rep(i,0,longest[target].size())
~~~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:121:5: note: in expansion of macro 'rep'
rep(i,0,longest[target].size())
^~~