0
how ot see hidden test cases in code coach problems, pls tell.
in my code coach problem there are 5 test cases but only 2 are viewable the rest say that - "this test case is hidden". the last one is wrong. so how I can view all of the test cases instead of just a few them
7 Answers
+ 1
Aditya Mohnot
They are hidden so that you won't cheat.
//
And as HungryTradie said, refer to the search bar please!
+ 1
AFAIK, this isn't possible on Sololearn. We have to find our mistakes ourselves.
Yesterday, I had a same problem and I figured it out using other sources like Google, Sof.
I have also seen that some people are asking help from this community members to solve a challenge.
You can also try this if you wish.
+ 1
G'day JUMP_LINK__&&__Python__&&__JUMP_LINK Learner if you are persistent, you can "force" the test cases.... Sometimes you just gotta try weird things.
I know what each of the hidden cases needs, but I can't get the logic. I think there is something wrong with that "code coach".
// j<=numb solves test case 4 only // change to numb+1 solves test case 1&3 // change to numb+2 solves test case 1,2,3 // numb +3 only test 2 // numb+4 only test 5
What do you think?
https://code.sololearn.com/crcO9sYc34oE/?ref=app
+ 1
Nice observation HungryTradie đđ
+ 1
HungryTradie Hi!
I'm kinda late because of the time zones.
Well, Ikr.
I would like to share my opinion about cracking hidden test cases.
Usually, I submit it with their expected output. If it failed to pass any test case, now I start using print statement(taking Python as reference as my username suggests) in some places where the code changes.
It's really helpful to understand our mistakes. That extra print statement will indicate what are the wanted elements and unwanted(in a list). Now, we can think about how to remove or add this and that and so on.
+ 1
They are left hidden to avoid u manipulating your way to an answer