0_0_21007621_14136.cpp: In function 'void getr()': 0_0_21007621_14136.cpp:42:29: error: 'r' was not declared in this scope for(int i=0;-prime[i]<=r;i++) ^