BUY1GET1 - wrong answer

I am getting right answer for given test cases on my system, but after submission I always get wrong answer(BUY1GET1 Problem). I didn’t figure out what is the problem. Plz help.

1 Like

please wait for the contest to be over first… :slight_smile:


there must be a small bug in your program that you are overlooking… try reading it line line again n figure out the bug…:wink: that will help please help me . Unable to resolve the runtime eror

no-one helps you until the end of contest, read more here - , this is a contest, you have to figure it out yourself

@rishantagarwal go to this and see.

1 Like

@rishantagarwal i’m also faci’n the same problem … :frowning: Which language did you use … coz i am using Python …