+ 3
[code coach]: pig latin
My program output match with the expected output, but single test case didn't get passed all failed...! https://code.sololearn.com/cMOJftgtoi05/?ref=app
3 ответов
+ 1
It's better to change your code to what exactly you specified there in code coach... Then It will be easy to find out where going wrong..
+ 1
Jayakrishna thank you sir...
For Example:
Input: good day
Output: oodgay ayday
Like this output we should get in pig latin problem. I am getting the same output pattern, still failed in all test case and there is no space at the end of output string.
0
AJITH ACHARYA
I mean change this to exactly what you including in code coach.. Like taking the input manually..
And for the input your taking is of 22 chars with changes it needs only 30 chars (after adding ay) but your output containing 31 chars so there is extra char at the end...