Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It's bad practice, but I love how optimized it is.
excelente me sorprende a veces la capcidad en la que los codigos de php se pueden comprimir a tal punto en que solo ocupan una sola linea de codigo.
This comment is hidden because it contains spoiler information about the solution
Yes, it's a good solution in one line, but it does not use memory effective. We have a memory limit exception if parameter $n is huge number (for example, 1 Gb of memory is not enough if $n = 17 millions).
English version of docs, sorry =]
https://www.php.net/manual/en/function.gmp-prob-prime.php
lol it break formatting =[
Built-in fast PHP function for this purpose, (no GMP, not pass tests)
PHP Docs: https://www.php.net/manual/ru/function.gmp-prob-prime.php
Example:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yeah, I'd like to know as well
This comment is hidden because it contains spoiler information about the solution