Ad
  • Default User Avatar

    I'm trying to figure out how to store the first char before : and then second char after the : into their own variables. then i can begin an accumulator. But I cant figure out the first part. Any one got any tips or cna point me in the right direction?

  • Custom User Avatar

    Calculate the distance between the first and the last pillar in centimeters (without the width of the first and last pillar).

    I don't know where you see this:

    If you meant to measure from the center of the pillars, or to the far edges of the pillars, you need to indicate that.

    Because that's not what you should do. Not a kata issue.

    The current instructions can be read as return the sum of the distances between the first and the last pillar and the width of the pillars (if there is any) in between. Moreover, if you ignore the width of the first and last pillar, it means consider them 0, left, center or right are the same position.

  • Custom User Avatar

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

  • Default User Avatar

    else if(x < y)

    you are comparing pointers here. this is not what you intended.

  • Default User Avatar

    sure let me just grab my residual mind reader and scan your message to figure out what the problem is

  • Custom User Avatar

    there is problems in test case!!

  • Custom User Avatar

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

  • Custom User Avatar

    It was the hardest 8kyu to me ;)

  • Custom User Avatar

    Then why do you keep doing them? Skip them if you don't like them, nobody forces you to do them. Seriously, what's the "obscure formula" you had to google here?

  • Default User Avatar

    Math Tag = Google obscure formula. Copy/ paste. No code requried. Cant stand these.

  • Custom User Avatar

    This was really nice to practice syntax for a new language on.

  • Custom User Avatar

    I fixed NASM test cases.

  • Custom User Avatar

    Approved with minor edits

  • Default User Avatar

    The test cases in NASM have sometimes a space included in the provided test cases. It is not clear whether it is intended or just a typo. The description should be updated or the test cases corrected.

  • Custom User Avatar
  • Loading more items...