Uva-10313 PAY THE PRICE!!
Difference between en1 and en2, changed 120 character(s)
#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)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Vesper_Lynd 2018-09-02 02:19:48 120
en1 English Vesper_Lynd 2018-09-02 02:19:09 276 Initial revision (published)