TOP BATSMEN [WA] check my code
what’s wrong in this code…

check out the editorial for this problem

after that if u have problem then you can ask :slight_smile:


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

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 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.