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.
This comment is hidden because it contains spoiler information about the solution
(approved by ..)
No offense at all, don't worry.
But your answer for that case doesn't match the task. The goal is to give the number of buses needed to carry people, and if there is a restriction on the number of adults vs the number of kids, there is no restriction on the number of adults "alone". so 0 cannot be a valid answer here.
Side note: that expected output is coming from the author's solution, not mine.
Hello Blind4Basics et al,
My contention is that since there are no 'kids' to be chaperoned to the camp an alternative answer might be zero.
I apologise if I have caused you any offense. That was not my intention.
I'm merely putting forward a different answer.
I hope that makes my position clear.
I'm sorry, I don't understand your message.
I shouldn't argue about what? I'm not arguing at all, actually... => ?
And in that second example, one actually need 18 buses to "move" the adults. => ??
Hello Blind4Basics et al,
Could it not be argued that since in your second example below where kids = 0 the answer could equally be zero... as no kids are going to camp?
Just a thought...
fork
Added in this Fork
Additional fixed tests:
.
thanks a lot, fixed it
Approved by someone, thx
C++ Fork
Hi,
those should be added to the fixed and example tests in all languages:
Cheers
fixed it
Loading more items...