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.
c
This solution would not work with a (larger than double precision) number that is a perfect square. The FloatProof test case is such a large number but is not a perfect square. If it had been, the conversion from long to double in Math.Sqrt would have changed the number due to double imprecision, and the method would have returned -1 incorrectly
This comment is hidden because it contains spoiler information about the solution
I came up with the same solution, but using a ternary operator to keep it in just 2 lines
This comment is hidden because it contains spoiler information about the solution
ретюрн Реджекс.Реплейс(строка, @"\с+", стринг.Эмпти);
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-value-types
The best solution. What is in the first place cannot be compared with this)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution