Mahmoud and Ehab and the wrong algorithm

Problem Name:
Mahmoud and Ehab and the wrong algorithm
Site:CodeForces
Links:
Tags:
Problem setters: