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.
Very funny Kata! Thanks to author!
you should replace "big integers" tag with "performance" tag
yes, looks ok now
Hello @dfhwze can you check it please?
Do you really want to use numeric types for this kata, why not use strings instead? That would also make the kata more suited to translate to other languages.
This comment is hidden because it contains spoiler information about the solution
I managed to pass with micro-optimisations. Not sure I like the current constraints. These don't seem balanced.
This comment is hidden because it contains spoiler information about the solution
Hello @ejini战神 can you check it now? Cheers
I am confused, the method signature is BigInteger, but the tests are expecting an int:
tests/Fixture.cs(14,22): error CS0266: Cannot implicitly convert type 'System.Numerics.BigInteger' to 'int'. An explicit conversion exists (are you missing a cast?)
tests/Fixture.cs(28,22): error CS0266: Cannot implicitly convert type 'System.Numerics.BigInteger' to 'int'. An explicit conversion exists (are you missing a cast?)
tests/Fixture.cs(30,18): error CS0266: Cannot implicitly convert type 'System.Numerics.BigInteger' to 'int'. An explicit conversion exists (are you missing a cast?)
tests/Fixture.cs(32,18): error CS0266: Cannot implicitly convert type 'System.Numerics.BigInteger' to 'int'. An explicit conversion exists (are you missing a cast?)
Hi @dfhwze can you check it please? Chears
fixed
Hello @Voile, can you check it?
You're still using
<pre><code>
. That can be replaced with triple backticks like so:Can you explain why you use a list, not an array? The suggestion was to keep array, only change the generic parameter type from string to BigInteger. A list is a mutable object. This kata does not require any mutation of the collection. So why did you go from array to list?
Loading more items...