Ad
  • Default User Avatar

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

  • Custom User Avatar
    • first of all, do not forget to tell about the language you're using. Python, ok.
    • second, with more than one thausend people already having comlpeted the kata, you'd bet that the problem is on your side, not on the kata side, so that's not an "Issue", that's a "Question".
    • this is 3 kyu, meaning it's demanding, and potentially on several aspects: memory / length of the input/output (numbers are HUGE, here), so there could be a lot of things going wrong with your approach. Just seeing at what you wrote, I'd bet on a full memory.
    • keep in mind that the sample tests are just "sample". In the test cases, you'll have to manage HUGE things. Nothing in common with what your code is currently capable of, I believe. So you'll have to find another way.
  • Default User Avatar

    I'm getting a weird error, in my code if I end it with

    return fib[-1]

    it says Error:1 failed:1
    but I cannot see the error message
    and if I end it with

    print fib[-1] return fib[-1]

    my code compiles and I pass all (20) the test, but I could not submit my code.