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