+ 1
Why in sololearn only 2 testcases are visible?
Why remaining are hidden? In code coach.
4 Réponses
+ 2
Ideally those 2 should also not be shown to you
Because it's your program who have to give the test and test is most effective only and only when you don't know the questions beforehand.🙂
+ 2
Given test cases it's simple to cheat. If all test cases are known then some cheaters can simply use shortcuts for given input.
For example: if- else in cpp
I.e. u can directly match input with those of test cases and give output according.
If (input == something)
cout<< expected output;
Like this cheating is possible to gain XP
Hence test cases are hidden.
0
Царь СОБАКА - Догго l But it is always hidden🤪. So sometimes I can't find what is the problem in my code when only 2 or 3 test cases are passed.