Ad
  • Default User Avatar

    Excellent usage of regex! Didn't know how to use lazy quantifier correctly, as otherwise this would have been my first solution to the problem!

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    You can ask him in a few years how are his programming skills.

  • Default User Avatar

    Hello Blind4Basic,

    You are right. The search method will try to find 8 characters anywhere in the string, so the comma does not have an use here.

    But with the second I only agree partially, although '\n' is a valid character in a string, I don't know if the newline character is valid in any password.

    Thank you for pointing this out!

    Best regards,
    dumistrocel

  • Default User Avatar

    Hello Chrono79,

    Your are right, but still, this does not explain why the expected result in the random tests was 100, instead of 123.

  • Default User Avatar

    Hello,

    Can anyone help me understand what is happening with the following random test? The expected result seen in the test should be 100, but my app shows the correct result as 124, as confirmed by selecting the respective group by hand -> 'azzxyv' and solving the group as the value 124. Language I'm using is Python 3.6.

    Thanks

    Test.assert_equals(solve("rgoaqoupeeiotaobkasaheuuijxikfksaiuagnaiumeowjuueoiwofudhsrxujauueeibaiyiuuochuukxnziooimaybayafiamoexsnuvzvuiuhaeihzhaaluuuanpmxviazzxyveenuwlwyuxopueiaeknyaimujpqneeuriuyolsaeeeuukeeyeuooriaotiioepubittqwieoxaeuwouiaonuiauleoneujiasuesdooiiiiaasxouthziiqkovuyeoworaraubeoailooeoedonoxiuudpukiyjeioauaehiuaweviabaogaziumuueekeaorqbboeietktsrzoceekaeuvoigoiveuoabunieaakajuiomfxaenwqghojwoinioqxoavgeikeuokuealfqofairouazaleliioootwlhaejoioaeooiugpooumaiuolweiouhoaarilesiuabobteoreuiivouadalkpetafceanverikpqsqiiexhkuqaoleaeeadyuwameogouutaedioimodcoenuuahufofwgnhaanoueluhtyeohoeuigfeldkiuepiaueebeeueiosxiuaiicuyitsainiaiuauaoxuiqiouobwoxiuqzlarfrbaasoumopoorquoeugqitvsioloefriuyltqctuorzaalufefrecwaxufekeeoiavbiaiugkaoaiyiaieknjaiukfexoeceearooiunocieuesiuteuoudeaickasafswiinazuuhijauiitoggzuiaovuoujggvfcuitjhogauxefiiueeamaimwoueuoiceuuizboaaaiheeiiuiwcuaocujluoc"),100)