+ 2

Jungle camping ....showing error in test case 5 ...I need help...

https://code.sololearn.com/cYIFmWqFob06/?ref=app

2nd Jul 2020, 9:11 AM
Manikanta
Manikanta - avatar
2 odpowiedzi
+ 2
Please clean your code up a little bit, there are some unused variables and unnecessary branches. Mainly your char array seems to be to small for me. With some modifications regarding the branches, the loop and unnecessary variables it works with an array size of 50 characters.
2nd Jul 2020, 10:45 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
Sandra Meyer thank you...it's working....
3rd Jul 2020, 12:00 AM
Manikanta
Manikanta - avatar