race.cpp: In function 'int calc_sub(int, int)':
race.cpp:8:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define forr(i,A,B) for(int i=A;i<B;++i)
race.cpp:22:7:
forr(i,0,adj[x].size()){
~~~~~~~~~~~~~~~~~
race.cpp:22:2: note: in expansion of macro 'forr'
forr(i,0,adj[x].size()){
^~~~
race.cpp: In function 'int find_centroid(int, int, int)':
race.cpp:8:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define forr(i,A,B) for(int i=A;i<B;++i)
race.cpp:31:7:
forr(i,0,adj[x].size()){
~~~~~~~~~~~~~~~~~
race.cpp:31:2: note: in expansion of macro 'forr'
forr(i,0,adj[x].size()){
^~~~
race.cpp: In function 'void dfs(int, int, int, int, std::map<int, int>&)':
race.cpp:8:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define forr(i,A,B) for(int i=A;i<B;++i)
race.cpp:48:7:
forr(i,0,adj[x].size()){
~~~~~~~~~~~~~~~~~
race.cpp:48:2: note: in expansion of macro 'forr'
forr(i,0,adj[x].size()){
^~~~
race.cpp: In function 'void calc(int)':
race.cpp:8:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define forr(i,A,B) for(int i=A;i<B;++i)
race.cpp:73:7:
forr(i,0,adj[x].size()){
~~~~~~~~~~~~~~~~~
race.cpp:73:2: note: in expansion of macro 'forr'
forr(i,0,adj[x].size()){
^~~~
race.cpp: In function 'void solve(int)':
race.cpp:8:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define forr(i,A,B) for(int i=A;i<B;++i)
race.cpp:88:7:
forr(i,0,adj[centroid].size()){
~~~~~~~~~~~~~~~~~~~~~~~~
race.cpp:88:2: note: in expansion of macro 'forr'
forr(i,0,adj[centroid].size()){
^~~~