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:

2 Likes

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

CodeChef: Practical coding for everyone please help me . Unable to resolve the runtime eror

no-one helps you until the end of contest, read more here - What kind of comment should I post on the problem page? - help - CodeChef Discuss , this is a contest, you have to figure it out yourself

@rishantagarwal FAQ | CodeChef 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 …