generate the two largest prime numbers below the given upperbound.
So I understood I have to choose two distinct largest primes p and qstrictly smaller thanub. (since, for example, 19 is not below 19)
But it seems I have to generate two distinct largest primes p and qsmaller than or equal to (no larger than)ub.
If you get red verdict on Gradescope, try to change this. I thought I got red because my program is slow, but it seems the verdict is green if and only if outputs are all correct
Name: Suchan Park
The description asks us to..
So I understood I have to choose two distinct largest primes
p
andq
strictly smaller thanub
. (since, for example, 19 is not below 19)But it seems I have to generate two distinct largest primes
p
andq
smaller than or equal to (no larger than)ub
.If you get red verdict on Gradescope, try to change this. I thought I got red because my program is slow, but it seems the verdict is green if and only if outputs are all correct