Joi.cpp: In function 'void dfs1(int)':
Joi.cpp:19:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<from1[x].size();i++) {
^
Joi.cpp: In function 'void give1(int, int)':
Joi.cpp:27:9: warning: unused variable 'i' [-Wunused-variable]
int i,k;
^
Joi.cpp: In function 'void Joi(int, int, int*, int*, long long int, int)':
Joi.cpp:36:21: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(T==1) return 0;
^
Joi.cpp:54:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<from1[x].size();i++) {
^
Joi.cpp:37:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,y;
^
Ioi.cpp: In function 'void dfs(int)':
Ioi.cpp:19:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<from[x].size();i++) {
^
Ioi.cpp: In function 'void give(int, int)':
Ioi.cpp:27:9: warning: unused variable 'i' [-Wunused-variable]
int i,k;
^
Ioi.cpp: In function 'void go(int, int, int)':
Ioi.cpp:38:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<from[x].size();i++) if(p[P].find(from[x][i])!=p[P].end() && !vis[from[x][i]]) val[from[x][i]] = Move(from[x][i]), go(from[x][i],x,P);
^
Ioi.cpp: In function 'long long int Ioi(int, int, int*, int*, int, int, int)':
Ioi.cpp:62:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<from[x].size();i++) {
^
Ioi.cpp:43:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,y;
^