Joi.cpp:11:24: warning: 'd' defined but not used [-Wunused-variable]
static int used[maxn], d[maxn];
^
Ioi.cpp: In function 'long long int Ioi(int, int, int*, int*, int, int, int)':
Ioi.cpp:58:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec.size(); i++) {
~~^~~~~~~~~~~~
Ioi.cpp:67:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = ind; i < vec.size(); i++) {
~~^~~~~~~~~~~~
Ioi.cpp:76:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = ind; i < vec.size(); i++) {
~~^~~~~~~~~~~~
Ioi.cpp: At global scope:
Ioi.cpp:10:12: warning: 'pr' defined but not used [-Wunused-variable]
static int pr[maxn], used[maxn], d[maxn];
^~