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.
Похоже принцип в том, чтобы вычитать из данного числа 9 до тех пор, пока оно не станет < 10, полученное число и будет ответом. Почему это работает, я тоже не понял.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Really nice 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
Very cool! Thanks
That's really smart!
why new BigInteger(""+n).isProbablePrime(1); is not working
please mention it as consecutive primes.
Incorrect regular expression passed to
replaceFirst
.This comment is hidden because it contains spoiler information about the solution
it's fine to ask a question, but please make sure you mark any code like this with the spoiler tag, (I have added this already to your comment), otherwise everyone can see your code.
This comment is hidden because it contains spoiler information about the solution
Loading more items...