Not getting accepted in highway bypass problem.

I have been trying to solve the Highway Bypass problem but I am not getting AC. I am not able to figure out what is wrong with My Solution. anyone please tell me what is wrong with my logic.

help me out.

@vikram91 @rs_710 @purendra_ @hemanth_1 @shraeyas @vidyut_1 @aryanc403 @meooow @alexthelemon @vijju123 @ram_24 @harrypotter0 @pankaj_chopra guys please help.