Problem E: AC & WA.

Problem B: AC & WA. I forgot to put an else after the if, but I still don't know how it passed the samples.

Problem C: AC & WA. I forgot to check whether L > R. (Actually, I could've fixed this with a few small modifications to the code, but I didn't want to risk it because my brain cells were already cooked after Problem B.)




