Ad
  • Custom User Avatar

    Finally found someone who also used a formula instead of Recursion or Iteration.

  • Custom User Avatar
  • Custom User Avatar

    Max Buffer Size Reached (1.5 MiB)

    Remove print statements and it will pass... There's no magic here.

  • Custom User Avatar

    Well, if you can't reproduce the code in question, a question remains as to whether that same code worked with all the print statements in place (because that's what causes a buffer error as detailed by @natan). So, do you remember removing the print statements before re-running the code?

  • Custom User Avatar

    there was no difference between 'fail' version code and 'pass version' only after I 'unlock solutions' did it work tho. Not being beligerant just not sure what you mean....

  • Custom User Avatar

    If you mean

    Max Buffer Size Reached (1.5 MiB)

    Then you're writing too much output.

  • Custom User Avatar

    consistant 'buffer error' 1.5mb. is that...clientside? I'm new to coding however I cant learn anything from this because I cant reproduce. Seems like more than a few others have a similar error. Happened always on test 118 until I 'unlocked solutions' with not 1 iota of difference between the code before and after, not to mention the other two methods I tried.

  • Custom User Avatar

    @MobulaKuhlii...Well ,

    • Thanks for Notifying, and I'm Awfully sorry for being that late to respond as I've Been busy For the Last couple of Months/Years/Centuries or So :smile:

    • Revised and Fixed to Match The Description Constraints and Notes :wink: :+1:

    • Hope you've Enjoyed This Humble Kata, Sum of Two Integers as Well :wink:

    • Wish you all the best On/Off Cw .. Regards .. Zizou

  • Custom User Avatar

    @hitch-

    Since this problem relies on optimization to pass all test cases, I'd rate 6 Kyu, not 7.

    • Yes, I Agree With you, Since Code Optimization requires an effective algorithm to attempt the problem and pass all the tests, that's Why the Average assessment of this kata before being approved was 6kyu , But I think you're not standing alone with this opinion Because many other Who've Solved this Problem Posted the Same Words, 1,2, 3,4 , But unfortunately its moderators' matter :pensive: .

    • Hope you've enjoyed this humble kata, Form The Largest , See You Next Happy Year , .. :wink:

    • Wish you all the Best On/Off CW .. Regards .. Zizou

  • Custom User Avatar

    Solved in c++

    Since this problem relies on optimisation to pass all test cases, I'd rate 6 Kyu, not 7.