Comments

Sorry, I am afraid of  saying that this contest is a little boring,the last two problem needs too much code ,but few about algorithm!.

Can you give the test 3 of the problem D? I  get  PE,I'm confused!