0_0_29733152_240.cpp: In function 'int main()': 0_0_29733152_240.cpp:99:25: error: 'isPrime' was not declared in this scope if(isPrime(n)) cout<<ans-1<<"\n"; ^