Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.
Do anyone remember that there is a problem is asking for (almost the same) primality test of big number?
I remember that for one problem I implemented Miller–Rabin primality test and get AC immediately. I want to find that problem again but forget the id....
My signature:
Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code.
I remember that for one problem
I implemented Miller–Rabin primality test and get AC immediately.
I want to find that problem again but forget the id..