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.
now on dart.
author is not active
Translation Dart
Java:
camelCase, notPascalCaseRefer here on how to enable backward compatability to not invalidate all solutions
C# translation ready! Please review and approve.
You might mention you want ALL people to get served. In my initial attempt I sent some people home so that others could eat.
Solution Set-up is wrong.
Can somebody tell me whats the input size? Description says that b <= 20000, but my IDE shows that my code can handle that in under 200ms, however Im getting timed out
NASM translation
Go translation
@riyakayal, C/C++ and Java translations available.
I suggest to use a pregenerated list of numbers for the checker function, as that would allow more time for user's solution and/or allow to check higher numbers.
Well these test cases look familiar ;-0
Maybe you should write your own tests cases for this kata instead of copying mine (which was written for a totally different kata) :P
This comment is hidden because it contains spoiler information about the solution