Comments

Thanks a lot now it got Accepted :)

I did that in the same way you said, but it doesn't work! :( What should I do now?

No :) Actually it is my friends birthday tomorrow :)

Could someone explain the proof more clearly on prob D why 2e — L is minimum answer? I understood that 2e but why we get the right answer by subtracting L?