ACBALL Problem - CodeChef (problem link)
solutiion 1 CodeChef: Practical coding for everyone link partially accepted
solution 2 CodeChef: Practical coding for everyone ac ( just printed directly without storing)
can someone tell why the difference.
I think null character is messing up.
You are not adding null character to the end of your manually created string(str3).
2 Likes
yes it worked
Thanks a ton
though on output it doesnt look different for test cases i ran on.
1 Like