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.
Sorry about that, It's my first translation, I added some basic example test cases just now.
I guess the "Honor Percentile" means the percent of people you have beaten.
Yes,you're right! Thank you !
There is a mistake in second example :Kata.MinUnfairness([30,100,1000,150,60,250,10,120,20],5)==20 //The result should be 90.
Fine now,thank you!
C# RandomTests
✔ 9 assertions passed
✘ It should work for random inputs too
Expected string length 3 but was 4. Strings differ at index 0.
Expected: "3/4"
But was: "-3/4"
-----------^
It looks like the random test cases lose the negative signs when the results are below 1 ?
int[] a = new int[] {121, 144, 19, 161, 19, 144, 19, 11};
int[] b = new int[] {1111, 0, 144144, 1919, 161161, 1919, 144144, 19*19};
expected: false
but got: true