6 kyu
Simple Fun #326a: The Shorterest Time
256 of 513JohanWiltink
Loading description...
Puzzles
Games
Fundamentals
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.
Simple and intuitive kata.
I don't understand how in last regular tests the result should be 25 ._.
It's 7,6 [3,1,1,4] When John go by elevator it is 27 and by stairs it is 28. How he travel to get that result?
"John walks down 1 floor and takes the elevator from there. 1×4 + 1 + 1 + 6×3 + 1 = 25"
Very nice kata! Sadly in real life it's hard to predict how fast/slow the elevator will arrive :D
CoffeeScript translation
Thank you for the translation. I don't do CoffeeScript, so I can't very well review this. I'll ask in Discord.
Approved!
i think there is error in the test cases please recheck them
Why do you think there is an error? Do you have any helpful pointers, or we just need to guess tests in what language you mean, and what kind of problems?
i have passed all the base tests but was not able to pass the random test cases. I am coding in python
C# Translation
Approved. Thank you!
Python Translation
Approved, thanks.
Initial code is missing function arguments.
Why, they are!
You have to fill them in yourself; they're specified in the description. Initial code does compile.
Not changing it now, sorry. Don't be lazy. :P
It seems no window in John's room ;-)
You haven't seen the other kata ? :P
Programmers don't need legs. :P
ah dang solved that and it isnt published :(
I thought it was in too bad taste to publish. We apologise for the inconvenience.