About problem the spy life | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

About problem the spy life

Test cases is output is correct but it's appear wrong what hell is this!😢 https://code.sololearn.com/cckzRkqm45Oz/?ref=app

18th Feb 2021, 12:14 PM
Abdullah Said
Abdullah Said - avatar
3 Answers
+ 2
Well, the 'c' array will be littered with null characters, which you print to the console despite them not being part of the correct solution. You have to print only the appropriate letters and spaces in the correct order, nothing else.
18th Feb 2021, 12:29 PM
Shadow
Shadow - avatar
0
I think you are adding extra space at end .. just remove and try..
18th Feb 2021, 12:31 PM
Jayakrishna 🇮🇳
0
Thanks man I forget this ❤❤❤
18th Feb 2021, 12:31 PM
Abdullah Said
Abdullah Said - avatar