buy 1 get 1 wrong answer

I’m using python for solving it. i’m getting the right ans. on ideone.com but wrong answer(WA) here. please help. i can’t post my code here as per rule. so how can i know on which input my code output is wrong.

1 Like

Its not good to discuss for ongoing contest

2 Likes