hello, i solved the problem spoj.pl/problems/HELLOKIT/ getting correct output on ma system but getting WA can't understand why.... my code is below........it is working perfectly...plz point out where i am wrong ???
removed after AC...:D
Your code is tested by redirecting your output to a file so that it can be compared with the correct output file. \b won't work.
so what is the replacement for "/b"........i also don't understand why extra space is given.....i mean why after printing %c it is giving space...due to which i used "/b"......without using "/b"....extra space is printed which is not required.......
Probably because you are printing out str[strlen(str)], which is always a null byte.
got AC.....thank u triple m......u rock