You’re given an array of NN elements. You need to find the MEXMEX of the prime divisors of the array, which is defined as the first prime number which doesn’t divide any of the elements in the array.
You’re given an array of NN elements. You need to find the MEXMEX of the prime divisors of the array, which is defined as …
Share
RUN WITH INPUT