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.
for c# test case: "foo"
when my code return the boolean value false, I get this error:
System.NullReferenceException : Object reference not set to an instance of an object
There seems to be an error for the following BasicTest for c#:
101, 9223372036854775806, 11
Expected: 838488366986797815
But was: 838488366986797791
since 9223372036854775806 / 11 = 838488366986797800
I can't see how the expected value is higher than it
I got an error for input 0 when I try to submit my c# solution:
Expected: False
But was: True
I think the result should be true for 0
c#
I think there is an error in the following test case for n = 1:
Random test for 1
Expected string length 0 but was 1. Strings differ at index 0.
Expected: <string.Empty>
But was: "1"
The following expected value is wrong
b=3, p=1, dishes:1/1/2/2/2/2
FAILED:: Expected: 2 But was: 1
The proposed solution works. Thanks.
The random test seems to be broken for c#
arr = DCCCDDDCDDDCDDDCCCDCCCDDDDDDDDCDDCDDCCCCDDDCDDDCCCCCDDCCD
n = 5
Expected: 7
But was: 25