LRNDSA01 codechef dsalearning series

why am i a getting a wrong answer? I guess my code is right

Obviously not :slight_smile: Which Problem are you trying to solve, exactly?


The LRNDSA01 That is Carvans from dsa learning series.
It would very helpful if you point out my mistake in the code