Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Finally found someone who also used a formula instead of Recursion or Iteration.
Seriously?
Remove print statements and it will pass... There's no magic here.
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?
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....
If you mean
Max Buffer Size Reached (1.5 MiB)
Then you're writing too much output.
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.
@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
Revised and Fixed to Match The Description Constraints and Notes
Hope you've Enjoyed This Humble Kata, Sum of Two Integers as Well
Wish you all the best On/Off Cw .. Regards .. Zizou
@hitch-
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 .
Hope you've enjoyed this humble kata, Form The Largest , See You Next Happy Year , ..
Wish you all the Best On/Off CW .. Regards .. Zizou
Solved in c++
Since this problem relies on optimisation to pass all test cases, I'd rate 6 Kyu, not 7.