Joi.cpp: In function 'void dfs(int, int)':
Joi.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp: In function 'void dfs2(int)':
Joi.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp:36:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp: In function 'void Joi(int, int, int*, int*, long long int, int)':
Joi.cpp:47:12: warning: unused variable 'maxim' [-Wunused-variable]
47 | int i, maxim = 0, nod, u;
| ^~~~~
Joi.cpp:47:23: warning: unused variable 'nod' [-Wunused-variable]
47 | int i, maxim = 0, nod, u;
| ^~~
Joi.cpp:47:28: warning: unused variable 'u' [-Wunused-variable]
47 | int i, maxim = 0, nod, u;
| ^
Joi.cpp: At global scope:
Joi.cpp:7:28: warning: 'c' defined but not used [-Wunused-variable]
7 | static int d[DIM], e[DIM], c[DIM], t[DIM], viz[DIM], dj[DIM];
| ^
Joi.cpp: In function 'void dfs2(int)':
Joi.cpp:38:28: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
38 | if(vecin != t[nod] && vecin != x && k != 60){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Ioi.cpp: In function 'void dfs(int, int)':
Ioi.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Ioi.cpp: In function 'void dfs2(int)':
Ioi.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Ioi.cpp:36:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Ioi.cpp: In function 'long long int Ioi(int, int, int*, int*, int, int, int)':
Ioi.cpp:72:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(j = 0; j < v[p].size(); j++){
| ~~^~~~~~~~~~~~~
Ioi.cpp:48:12: warning: unused variable 'maxim' [-Wunused-variable]
48 | int i, maxim = 0, nod, u, j;
| ^~~~~
Ioi.cpp:48:23: warning: unused variable 'nod' [-Wunused-variable]
48 | int i, maxim = 0, nod, u, j;
| ^~~
Ioi.cpp:48:28: warning: unused variable 'u' [-Wunused-variable]
48 | int i, maxim = 0, nod, u, j;
| ^
Ioi.cpp: At global scope:
Ioi.cpp:7:28: warning: 'c' defined but not used [-Wunused-variable]
7 | static int d[DIM], e[DIM], c[DIM], t[DIM], viz[DIM], dj[DIM];
| ^
Ioi.cpp: In function 'void dfs2(int)':
Ioi.cpp:38:28: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
38 | if(vecin != t[nod] && vecin != x && k != 60){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~