Why in sololearn only 2 testcases are visible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why in sololearn only 2 testcases are visible?

Why remaining are hidden? In code coach.

12th Apr 2020, 2:37 PM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar
3 Answers
+ 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.🙂
12th Apr 2020, 2:53 PM
Arsenic
Arsenic - avatar
+ 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.
12th Apr 2020, 6:18 PM
Laukik Shah
Laukik Shah - avatar
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.
12th Apr 2020, 2:52 PM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar