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.
Timeout on test: Assert.AreEqual(0, Kata.DivisibleCount(1, long.MaxValue - 1, long.MaxValue));
There is an error in test cases:
Your solution - public class MySolution {#region Solution public string Solution(string time)
gives wrong result when converts regular to military time.
Please, try this test cases:
Assert.AreEqual("0333", converter.ConvertTime("3:33 am"));
String lengths are both 4. Strings differ at index 2.
Expected: "0333"
But was: "0303"
Assert.AreEqual("NaN", converter.ConvertTime("23:33 am"));
Expected string length 3 but was 4. Strings differ at index 0.
Expected: "NaN"
But was: "1133"
I got the same error when I miscalculated previous rank.
If a user ranked 1 completes an activity ranked -1 they will receive 1 progress.