Regarding this program

sir can you please check why its on 2 test cases