Ad
  • Default User Avatar

    I have no idea what I'm doing. I feel pretty stupid that I can't solve a 7kyu. What is wrong with me that I don't understand this? Any ideas?

  • Default User Avatar

    I'm failing two of the basic tests, the ones for f(f(5)) and f(f(10)). Any advice?

  • Default User Avatar

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

  • Default User Avatar

    How do you even create the characters?

  • Default User Avatar

    it's weird because it's the same number of digits, but the answer is wrong. I'm not sure how that happens. That seems like a bit of an issue. Of course, my instructor told me they wrote javascript in a few weeks or something, so maybe I'm expecting too much refinement.

  • Default User Avatar

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

  • Default User Avatar

    I'm using C#. I'm not understanding this. It says it's giving me the number of matches I have. I assume this is the number of indexes of the array that I create that match the indexes of the answer array, is that right? So, if the code array is {2, 4, 6, 9} and I return an array {2, 3, 5, 7} it will give 1 as the answer? So I then have to figure out which index matched and then change the others?

  • Default User Avatar

    I must be too stupid to do this then

  • Default User Avatar

    Anyone have a hint as to why the basic tests are passing but the full suite is timing out? Is there something I should be looking for? My code is supposed to look for the last index of an opening parentheses, then move forward until it finds the first closing parentheses, and remove those and what's in between. Is there a better way to code this? I've tried looking online for something that would identify substrings starting and ending with a parentheses, but I know some of the tests might complicate that with things like ((this) and) (this (so)) I'm not sure what to do.

  • Default User Avatar

    I tried changing the doubles to decimals instead, still passing the basic, but not full suite

  • Default User Avatar

    Does anyone have a quick suggestion as to why the basic tests are passing, but the full tests aren't? I was having trouble with the fact that the inputs are ints and doubles, so I converted the ints to doubles to try to have consistency.

    I'm wondering if this line is the issue "all amounts f0..fn-1, c0..cn-1 are truncated by the bank to their integral part." Am I missing something here? I can post my code if that's helpful.

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Ok, got the exception working, but now it's failing the random tests, my answers are 1 too low.

  • Default User Avatar

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

  • Loading more items...