There is a contest! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
imesecan | Oct.07.2015 at 10:13:04 AM | |
0 | --- Test 1 --- 2 5
--- Pattern --- 2 3 5
|
imesecan | Dec.10.2015 at 03:10:00 PM | |
1 | You can make faster decision if you check only for odd numbers. So, if the number is 2, it's prime, if not, if the number is divisible by two, it's not prime, otherwise start from 3 and check for only odd numbers until the square root of the numbers.
|
|