Joi.cpp: In function 'void dfs(int, int)':
Joi.cpp:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp: In function 'void dfs2(int)':
Joi.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp:37:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Joi.cpp: In function 'void Joi(int, int, int*, int*, long long int, int)':
Joi.cpp:48:12: warning: unused variable 'maxim' [-Wunused-variable]
48 | int i, maxim = 0, nod, u;
| ^~~~~
Joi.cpp:48:23: warning: unused variable 'nod' [-Wunused-variable]
48 | int i, maxim = 0, nod, u;
| ^~~
Joi.cpp:48:28: warning: unused variable 'u' [-Wunused-variable]
48 | 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], ind[DIM];
| ^
Joi.cpp: In function 'void dfs2(int)':
Joi.cpp:39:28: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
39 | if(t[vecin] == nod && vecin != x && k != 60){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Ioi.cpp: In function 'void dfs(int, int)':
Ioi.cpp:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Ioi.cpp: In function 'void dfs2(int)':
Ioi.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
Ioi.cpp:37:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | 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:73:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(j = 0; j < v[p].size(); j++){
| ~~^~~~~~~~~~~~~
Ioi.cpp:49:12: warning: unused variable 'maxim' [-Wunused-variable]
49 | int i, maxim = 0, nod, u, j;
| ^~~~~
Ioi.cpp:49:23: warning: unused variable 'nod' [-Wunused-variable]
49 | int i, maxim = 0, nod, u, j;
| ^~~
Ioi.cpp:49:28: warning: unused variable 'u' [-Wunused-variable]
49 | 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], ind[DIM], dj[DIM], viz[DIM];
| ^
Ioi.cpp: In function 'void dfs2(int)':
Ioi.cpp:39:28: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
39 | if(t[vecin] == nod && vecin != x && k != 60){
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~