question was:
my answer is: http://www.codechef.com/viewsolution/1926447
why my answer gives wrong answer after submission …
question was:
my answer is: http://www.codechef.com/viewsolution/1926447
why my answer gives wrong answer after submission …
There are new lines (’\n’) missing in your output - http://ideone.com/r6PDrU
Please read this part of FAQ - http://www.codechef.com/wiki/faq#How_should_I_test_my_program to prevent similar problems in future contests