0_0_38198967_23342.cpp: In function 'int main()': 0_0_38198967_23342.cpp:65:49: error: 'i' was not declared in this scope int lb = lower_bound(vec[primes[i]].begin(), vec[primes[i]].end(), l) - vec[primes[i]].begin(); ^