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

7th Mar 2022, 5:44 AM
Aditya Mohnot
Aditya Mohnot - avatar
7 Réponses
+ 1
Aditya Mohnot They are hidden so that you won't cheat. // And as HungryTradie said, refer to the search bar please!
7th Mar 2022, 5:59 AM
NEZ
NEZ - avatar
+ 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.
7th Mar 2022, 6:02 AM
Python Learner
Python Learner - avatar
+ 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
7th Mar 2022, 6:26 AM
HungryTradie
HungryTradie - avatar
+ 1
Nice observation HungryTradie 👍😂
7th Mar 2022, 8:06 AM
NEZ
NEZ - avatar
+ 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.
8th Mar 2022, 4:02 AM
Python Learner
Python Learner - avatar
+ 1
They are left hidden to avoid u manipulating your way to an answer
8th Mar 2022, 12:31 PM
Pythøñ Cúltîst⚔️🔥🇳🇬
Pythøñ  Cúltîst⚔️🔥🇳🇬 - avatar