7 kyu
Happy Birthday
345 of 1,751Leuchtmarker
Loading description...
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.
And the whole problem was that wrapping the box through different sides...
If you got 174 on the first test. You need to pass the tape along the long sides of the box
This comment has been hidden.
You are assuming that
width * length
is the always the largest area.The bow isn't always on the top.
same here
JavaScript translation
This comment has been hidden.
C Translation (author inactive).
approved
Factor translation (Author inactive)
Approved
This was one of the hardest katas i've encountered. I still don't understand why sorting the inputs produces the correct output. Oh well ¯_(ツ)_/¯
It has to do with this line from the description:
Therefore it is required to find which side has the largest area, to produce the correct result.
This comment has been hidden.
Sample tests are missing solution and test framework imports in Python.
Fixed
This comment has been hidden.
python translation
This comment has been hidden.
Using Java, the sample test case is saying my solution is wrong, but I checked with a calculator and I'm getting the correct answer.
Java seems fine, but post your code with proper markdown and a spoiler tag, and I'll take a look for you if you want.
This comment has been hidden.
Use spoiler flag next time, read the instructions again:
You assumed width * length is the largest area always.
Wrong logic - solved. Thanks.
Go sample tests:
fixed
errrrr... well:
fixed, thanks a lot.
.