Joi.cpp: In function 'void dfs(int)':
Joi.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();i++)
~^~~~~~~~~~~~
Joi.cpp: At global scope:
Joi.cpp:10:14: warning: 'j' defined but not used [-Wunused-variable]
static int i,j,nr;
^
Ioi.cpp: In function 'void dfs(int)':
Ioi.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();i++)
~^~~~~~~~~~~~
Ioi.cpp: In function 'void dfs2(int)':
Ioi.cpp:29:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size()&&visited<60;i++)
~^~~~~~~~~~~~
Ioi.cpp: In function 'long long int Ioi(int, int, int*, int*, int, int, int)':
Ioi.cpp:52:7: warning: unused variable 'rt' [-Wunused-variable]
int rt=P;
^~
Ioi.cpp: At global scope:
Ioi.cpp:11:14: warning: 'j' defined but not used [-Wunused-variable]
static int i,j,nr;
^
Ioi.cpp:8:47: warning: 'r' defined but not used [-Wunused-variable]
static int viz[nmax],w[nmax],tt[nmax],l[nmax],r[nmax];
^
Ioi.cpp:8:39: warning: 'l' defined but not used [-Wunused-variable]
static int viz[nmax],w[nmax],tt[nmax],l[nmax],r[nmax];
^