+ 8
Jungle Camping - Code Coach issue (SOLVED!)
Hi, folks. A little help, please. I came up with a solution to Jungle Camping in C in Code Campground, tested it and it seemed to work fine. However, in Code Coach, it fails tests 3 and 5, which are hidden, so I have no idea what's wrong. I went through many combinations in Code Playground and all of them worked, so I can safely say I ran out of ideas. Any help from you would be greatly appreciated. Thanks! *Link removed to prevent spoilers.
5 ответов
+ 5
The task says nothing about how many noises you hear, so there might be more than just three noises. Your solution should cover such cases too.
+ 4
Awesome, Shadow. Thanks. It seems I'll have to restart from scratch, then.
+ 4
Sure, good luck with it.
+ 3
Hi, @Shadow! Just to let you know, if it weren't for your pointing out that the number of noises was not mentioned, I wouldn't have figured that one. As a plus, got to practice a little with string functions in C and now it is working for as many sounds as possible (in a 100-character long string, at least). 😁😁😁 Thank you so much for taking the time to help.
By the way, I changed the link on top. Now it points to the real working solution.