pair of lines educational round 41 getting wrong answer

codeforces educational_round_41 problem d

I am getting wrong answer on test 15 . please help me out .

my code :

problem link :

thanks in advance

Anoop Kumar

Please Log in to answer

Note: Your answer should not be too short. Please wait a few seconds for the editor to load

Please make sure the answer is not too short

No Answer to this question yet

No Comments yet