http://www.codechef.com/viewsolution/3651481 I am getting Wrong Answer in LEADGAME. What have I missed out? asked 28 Mar '14, 21:47 ![]()
|
The question has been closed for the following reason "The question is answered, right answer was accepted" by sandy999 18 Jan '15, 12:55
You have understood the question incorrectly. The exact solution is somewhat different. You have to find out the difference between the cumulative values at any instance and among that you have to give the maximum difference. The example is explained below : <brL 3 So answer is 1 3. answered 28 Mar '14, 22:55 ![]()
Oh yes! I totally ignored the 1st scoresheet in the problem! Thanks a lot! :)
(28 Mar '14, 23:21)
Your Welcome! @sandy999 Please accept the solution so that the question could be closed.
(28 Mar '14, 23:24)
|