#ijustwantHelp↵
↵
This problem is bugging me for days now,↵
Can anybody tell where i am going wrong,↵
[Here is my code](https://ideone.com/CMewEj)↵
↵
I am doing in O(N^3),↵
which should pass the given test cases,↵
↵
but still exceeds please do help!!!↵
↵
[Problem link](https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1254)
↵
This problem is bugging me for days now,↵
Can anybody tell where i am going wrong,↵
[Here is my code](https://ideone.com/CMewEj)↵
↵
I am doing in O(N^3),↵
which should pass the given test cases,↵
↵
but still exceeds please do help!!!↵
↵
[Problem link](https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1254)