Can someone plz tell me whether my logic is completely wrong or am I going wrong for some boundary value?
Link to my code is here: http://www.codechef.com/viewsolution/5255511 Plz hel. Im completely new to codechef and dont have any idea
Thank you all in advance for your kind help
You are not printing ā\nā after the answer of one test case. That is the mistake!!
2 Likes
Thank you it worked
Sorry to bother you again but can plz help me understand ehy im getting WA for Problem 1(Problem code: CMB01) of peer section. Link to my submission: http://www.codechef.com/viewsolution/5260510 Thank you in advance again.