Beta
Escape the Matrix (Memory Edition)
Loading description...
Puzzles
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.
At least, in C++, could use a callable that someone would modify (function pointer or std::function<> of some sort). Nice idea for a hakathon, IMHO bad idea for this codesite. Note: Had the ability to edit: should have delete :-(
Also, you gotta fix the simplest cheese like this
Should be fixed now. Can you please validate.
With zero information given (not even the implementation of
tryEscape
, or any tags, or anything?), this kata is not a good puzzle.In fact, author solution is doing the equivalent of cheating, so this is not a good idea for a kata either.
It was my intention to not give the implementation of tryEscape() so the users have to find the implementation by themselves by dumping the memory. I will add tags soon.
And the solution which I did is my intended solution. Other katas do the same thing like https://www.codewars.com/kata/54bd6b4c956834c9870001a1/
I added tags
meaning it's a duplicate?
No it is not. Other katas are also split because the puzzle type is the same but the solution is different.
This kata uses a unique (I hope) solution.
Take these two for example:
https://www.codewars.com/kata/5510caecaacf801f820002ac
https://www.codewars.com/kata/54bd6b4c956834c9870001a1