TOP BATSMEN [WA] check my code

http://www.codechef.com/viewsolution/2180244
what’s wrong in this code…

check out the editorial for this problem

http://discuss.codechef.com/questions/3632/bestbats-editorial
after that if u have problem then you can ask :slight_smile:

2 Likes

your code is perfectly fine…just the 1 error is that u r printing all the answers in the same line…just include a \n in ur printf statement and u’ll be through…:slight_smile:

3 Likes

i’ll try that method too. but is error in this code

CodeChef: Practical coding for everyone this is ur solution with the \n and it got AC…:slight_smile:

lol hope u found ur mistake :slight_smile: @kunal361 (y) gud work !

1 Like

thanks man… it pissed me off.