5 kyu
Program hangs!
116CIS 122
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.
python new test framework is required. updated in this fork
This comment has been hidden.
This comment has been hidden.
Still broken!
I 'got creative' on this one, but then the following:
Time: 558ms Passed: 300 Failed: 0 Exit Code: 1
NameError: name 'wrap_mystery' is not defined
If it is the same issue as the one below, why opening another one? Note that not all katas that broke with the new runner could/can be fixed.
Duplicate issue.
So is this a "real" issue of kata but not a bug in user's code? I just want to make sure if I should solve it by working hard at codes of client side.
kata broken (python) by the new runner. Need access to the edit panel and corrections
Great Kata!
There are alot of solutions for this that I don't think are correct (including mine) rather just lucky to beat the random tests. I tried to go for a more "correct" timing-one but could not get it to work. So I started looking for patterns. But since I can't seem to print the numbers before it times out during the random tests my information is incomplete. Just thougt I'd mention that the tests can be waited out until you get "good" random numbers. That being said I'm working on a second solution :)
It seems that the code is hanging inside mystery function when I am testing negative inputs. Server doesn't allow to run it long enough to get an error message. How can I avoid it?
That's the whole point of the kata. You'll need to find some pattern in the bad inputs and code around them.
Seems interesting, but I'm not sure if test are all alright - it hangs even at "Some Good Inputs" section. Could you check this?
This comment has been hidden.
Ok, thanks. Didn't pay proper attention to bad inputs. And now... gotcha! That was fun!