Beta
The Goobles Challenge - Part 2
Loading description...
Puzzles
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Hi, remonvv. This is issue for test scripts.
for input S:1 1<=D 1<H (for example S:1, D:1, H:9 or S:1, D:15, H:17) test scripts wait real solution, but solution don't exists and I return "TBCB".
S:1, D:1, H:9 for this input solutions are TTCTTTCCCB or TTCTTTCTCB, both these solution have 10 steps, BUT H=9
Hi AltynbaevRamil,
Thank you for reporting the issue. I'll have a look and report back.
The issue has been resolved. It was a silly mistake in the reference implementation. Thanks again for helping out!
Thanks for the kata, but some things appear quite wrong.
Thanks for your feedback. I'll review and clarify accordingly. The first point surprises me because my local tests work just fine so I may have boinked something during the transfer to codewars.com. It consistently complains about having "a newer version" so I think there's some state management issue with the editor for me. Either way, will fix.
I believe I have addressed all concerns/issues you raised. Would much appreciate a review. Thanks! EDIT : Missed your last comment. The test cases should accept all valid solutions (so both your examples should be accepted).
hi,
some things that are imo lacking in the description:
cheers
Thanks! Will clarify
I think both points are addressed. Let me know if you have further comments.
Nope, still not good: for now, nothing in the story (note: I didn't read it again completely tho, just looked at the "new" part) forbid a gooble with strength 400 to carry only 100 kg of sand, so the description is stating a problem that is exactly the same than the previous one, for now (tho, I bet that doesn't match the implementation (didn't try it yet)).
what about the time of loading the sand? x) => just say that travel + loading/unloading of the sand takes 1 hour whatever the amount of sand.
It says "A Gooble will always carry exactly the amount of sand their strength allows them to." at the end. Does that not qualify it enough? I can maybe add "no more, no less"
sounds good, but I didn't see that sentence. x) => some reorganization of the description could be good, then. ;)