0_0_13277226_6072.cpp: In function 'int main(int, char**)': 0_0_13277226_6072.cpp:31:63: error: 'max' was not declared in this scope if (primes[j] == 0 && tmp % j == 0 && j > max) { ^