Ad
  • Custom User Avatar

    python new test framework + new version is required. updated in this fork

  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Custom User Avatar

    Yes, great. I updated the description a bit earlier, hope you don't mind.

    Cheers

  • Default User Avatar

    OK, if that is what you meant, I updated the instructions accordingly.

  • Default User Avatar

    I meant to specify in the instructions that there may be '98's at the very end of the long number that you are decoding, and that sometimes there aren't. That part is intentional (and I'll fix it), however, the '98' should always be separating the binary component and the encoded text.

  • Custom User Avatar

    The use of 98 as a separator is not consistent (at least in python). Sometimes you have it at the end of the number, sometimes not. I don't know if it's intended, but it should be corrected or specified.

  • Custom User Avatar

    Fixed the random generation, now only with 26 chars - thanks :+1:!

  • Custom User Avatar

    I think the JS translation doesn't match the requirements. Below is the reason why i said so.
    Your instruction said.

    So, first, some text is taken, and encoded. The system of encoding is taking each letter's position in the alphabet and adding 100 to it. For example, "m" in the real text would be "113" in the code-number...and each letter of the alphabet, encoded, is between 101-127...
    Clearly that tells, we are dealing with the 26 alphabet letters. so where does some weird chars came from. ( I already have an idea how you translated it but it should be done according to the description :),i think. ) ``` Log 1091011131021151181051041191151091011131071151091141071201151201251161051181011141041151131121051201201051181199810000001001010100101010101010198102112101108101112119104110111106101112104119111106110101119104108107101119112104108107101119121112109104107108981000101001011981011191041111081071121041121011111101081079810001010010198119112105105116101104112106110112104101119104106104106104119115113105120108109114107109119114115120118101114104115113104101106104101106108104101112111110106108109114108105118105981000001010010101001010100101010101098117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123981000101010 [ '109101113102115118105104119115109101113107115109114107120115120125116105118101114104115113112105120120105118119', '100000010010101001010101010101', '102112101108101112119104110111106101112104119111106110101119104108107101119112104108107101119121112109104107108', '1000101001011', '101119104111108107112104112101111110108107', '100010100101', '119112105105116101104112106110112104101119104106104106104119115113105120108109114107109119114115120118101114104115113104101106104101106108104101112111110106108109114108105118105', '10000010100101010010101001010101010', '117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123', '1000101010' ] Test Passed: Value == 'iamboredsoiamgoingtotyperandomletters, 541758805, blahalsdjkfaldskfjasdhgasldhgasulidgh, 4427, asdkhgldlakjhg, 2213, sleepadlfjldasdfdfdsomethingisnotrandomdafdafhdalkjfhinhere, 17526510250, qertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwww, 554' Log 10912310912311012212510511812711112698100000110981271251021049810198124105124122113122 [ '109123109123110122125105118127111126', '100000110', '127125102104', '101', '124105124122113122' ] It should work for random inputs too - Expected: 'iwiwjvyer{kz, 262, {ybd, 5, xexvmv', instead got: 'iwiwjvyerkz, 262, ybd, 5, xexvmv'
  • Custom User Avatar

    Ok, JS and Crystal translations are there as well for you to approve; cheers :)

  • Custom User Avatar

    Ruby translation for you to approve and possibly get an idea about how to make random test cases; JS and Crystal versions should follow shortly :)