Ad
  • Default User Avatar
  • Default User Avatar

    Houston, we have a problem

  • Default User Avatar

    fixed, thanks!

  • Custom User Avatar

    Something seems off with the C random tests. For example:
    < Incorrect Result >

    code[13] = {
    " uhefkcy mrpdrk uflndjh em zzksswz acry",
    "x ogyypkkuvxpxfkajctamdsac uxqk lrsbp f",
    "z zwiousp vaozd tygmv wazgstvzx rpbsdnk",
    "lixlwoo mam oa ggrzui gtk k rnjcjrjy",
    "xvyb gbmlhwcaerzpart dfrjhmlrvinh pvfjz",
    "iqvljsba vrsv xl xw njhuq bdllcuuwxwnyw",
    "ns ffmvpake q kwnezyhakbq qwxfjplh qvc",
    "qfzpnf qabvstbmc bcexzj ucuolr fkov",
    "dphohc dqafvqwdpdpowlbd siowt kodkcemb ",
    " vepl st hkdi zt gi asvdvq rgvmjjpcuh",
    "xmhapp bamj muvhnko uu ywb ynvntvnhdu ",
    "eus uwg wmjkz xruttzjgmwy dyjwx ihzvdxa",
    "ticc ysrrdcpmhbbzhxpjm uu oqjhikkdkhoa"
    }

    Submitted: "mmnikmikghmlkkiklklpkiiimjeooolknlikiok"
    Expected: "i igh

    iiie
    i "

  • Default User Avatar

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

  • Default User Avatar

    @iivnn, posting a solution is forbidden, so it makes no sense to make one as a suggestion

  • Default User Avatar

    Notice that the first name of the given list, Sevap ends up in seat #10? This is because that's the seat in the Windowsill corner, that of the feature most desired by those family members whose last name starts with a letter in the the ancient name SSSSSSSSS. Every other member of this particular test, all starting with S will then sequentially get a seat as close to there as possible.

  • Default User Avatar

    This was happening because you were mutating the input, which causes unexpected behavior. I have fixed the code so this will not happen any further. Please click RESET in your trainer (don't forget to copy your code if you don't want to lose what you do have), and you will notice that the declaration is now: void decipher(size_t length, const char * const code[length], char *mew).

    Thank you and good luck!

  • Default User Avatar

    I get a SIGABRT with my code. Surely, my code is wrong but I do not allocate any memory so how is it possible?

    Besides, I'm seeing

    Expected: "*&ikh)ihg&j'kj%&hij'-&'*ih)h'"

    which should not be possible ("Every String consists of only lowercase letters and spaces.")

  • Custom User Avatar

    Thank you!

  • Default User Avatar

    Why for the test All_Favor_the_Same_Feature

    Sevap Syolc Sgulg Stolb Sknoh Spord Sgnaf Shcat Sknit Snirg Senin Sliob

    result is not like this;

    Sliob Snirg Shcat Spord Stolb Syolc Sevap Sgulg Sknoh Sgnaf Sknit Senin

    but

    Sgnaf Sknit Senin Sliob Snirg Shcat Spord Stolb Syolc Sevap Sgulg Sknoh

  • Default User Avatar

    I ran their code and discovered that it passes if the test is modified from assert.strictEqual to assert.equal, if that helps.

  • Default User Avatar
  • Default User Avatar

    No one should just give you a solution, it's forbidden, so please don't ask for one.

  • Custom User Avatar

    bruhh, taunting

  • Loading more items...