6 kyu
Captcha parser
Loading description...
Parsing
Algorithms
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.
Splendid kata, kudos !
in the "six && two with noise" test case. Where exactly is the noise? Or maybe I've misunderstood what noise is.
There is a typo in
'_', '|', '\'. '/'
, it should be'_', '|', '\', '/'
.Fixed. To fix a typo is more of a suggestion than an issue :P
Crazy kata :D Needs so much attention to detail o_O Could've been a bit more interesting if noise overlapped with existing numbers and, say, it would count as valid number even if 1 or 2 pieces were blocked. Regardless, something unique and enjoyable once you solve it :>
in example testcase
six && two with noise
, why it should return26
instead of62
?Forget to sort it. code works now ;-)
Hi, one question: Your description and example means that every sample number has to be included exactly in a possible number of the captcha (the possible captcha number doesn't differ in "form", hasn't less signs but perhaps more)?
Yes, it's possible that 'captcha number' can have more symbols than in example. But there is no cases, when noise can change number beyond recognition
Ok, thanks;-)! Will help to solve your kata, so a task for the next time... Perhaps a little hint in your description would help too. It's new (i think) and an interesting one;-)!
good luck:)
It seems easy to solve, but type character is very tired ;-)
Yes, i looked for something preloaded, but there isn't;-). So i copied the sample as it is and converted it into the "chars" i need for comparison. But i'm busy now, so i stopped for the moment... perhaps tomorrow;-)...
Yes, it's simple kata:) I was thinking about creating more complex task, but i'm tired of create tests for checking:) Original idea was that a number may be distorted by noise and several characters of number can have offset at 1-2 position (left or right or up or down) Perhaps, I completed yet as intended. If you wanted, you can help me:)
Simple, but good one, so thanks for it;-)! Only CW took me much time because i always get timeouts today;-)...