6 kyu

Captcha parser

Description
Loading description...
Parsing
Algorithms
  • Please sign in or sign up to leave a comment.
  • ejini战神 Avatar

    Splendid kata, kudos !

  • bori0066 Avatar

    in the "six && two with noise" test case. Where exactly is the noise? Or maybe I've misunderstood what noise is.

  • rabbit_binary7 Avatar

    There is a typo in '_', '|', '\'. '/', it should be '_', '|', '\', '/'.

    • B1ts Avatar

      Fixed. To fix a typo is more of a suggestion than an issue :P

      Issue marked resolved by B1ts 5 years ago
  • B1ts Avatar

    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 :>

  • myjinxin2015 Avatar

    in example testcase six && two with noise, why it should return 26 instead of 62?

  • smile67 Avatar

    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)?

    • tselishev-semen Avatar

      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

    • smile67 Avatar

      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;-)!

    • myjinxin2015 Avatar

      It seems easy to solve, but type character is very tired ;-)

    • smile67 Avatar

      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;-)...

    • tselishev-semen Avatar

      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:)

    • smile67 Avatar

      Simple, but good one, so thanks for it;-)! Only CW took me much time because i always get timeouts today;-)...

    • user8436785 Avatar
      Question marked resolved by user8436785 6 years ago