Draft
Count rectangles
14mubli
Loading description...
Geometry
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.
Unpublishing as a duplicate.
Duplicate
hi,any sol?
Are you asking if there are any solutions? In that case, yes, it has been solved a few times. You can watch the linked video for a description of how it can be solved.
The message is wrong.
Good catch. Thank you.
The user can modify the input.
Now I understand your weird solution.
This comment has been hidden.
Now it should be solved. The test answer is defined before the users function is run.
It's not mentioned that there can be duplicates in the list.
Fixed.
The random tests are doing nonsensical logging.
I guess this is the same problem as @Blind4Basics reportet?Edit: No, it wasn't the same issue. I just forgot to delete a print statement in the test function.
I swapped them. I'm not sure what you mean with the latter point. Should I print the list? If not, could you show me a code snippet that would do it?
just send copy of the list to the user.
I'm still not 100% sure what you mean, but I added the list to the test description.
hi,
your kata is too close to this one : https://www.codewars.com/kata/5de010920f33c3002d3af628
Please unpublish it.edit: well, considering how easy it is in comparison... I'd say it's not really a problem...I agree. This one is more accessible.