Ad
  • Custom 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?

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    How do you even create the characters?

  • Custom 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.

  • Custom User Avatar

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

  • Custom 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?

  • Custom User Avatar

    I must be too stupid to do this then

  • Custom 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.

  • Custom User Avatar

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

  • Custom 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.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Loading more items...