The current scheme of generating primes between a range( 2_erasth_primes ) gives a TLE. So it has been decomposed into one program which generates primes, dumps them into a .csv, and that csv is then read into the other one where the array of primes is used to check for other numbers. This made was AC, but is a highly ineffective solution. Please change when possible
The current scheme of generating primes between a range( 2_erasth_primes ) gives a TLE. So it has been decomposed into one program which generates primes, dumps them into a .csv, and that csv is then read into the other one where the array of primes is used to check for other numbers. This made was AC, but is a highly ineffective solution. Please change when possible