Little bit change required while answering questions during challenge , isn't it ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Little bit change required while answering questions during challenge , isn't it ??

In the answer line for "determine the output", the no. of characters is predetermined , as output line will take only that much char. which actual output has making it easier to guess the output in most cases. For eg :- int a=1; int i=a++;; if(i%2==1) Print(4); else Print(555); For this code , we cannot enter 555, in output ,as no. of characters are fixed to 1 , as output will be 4, which anyone can guess , even though his logic is incorrect. This problem should be solved as early as possible.

10th Jan 2018, 2:36 AM
Mr.Curious
Mr.Curious - avatar
3 Answers
+ 3
Or the number of spaces in the lines should be undeterminable by making the space expand to accommodate extra characters
10th Jan 2018, 4:28 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 21
yes , some challenges in also have that problem , while inputting the answer as true (4 characters) or false (5 characters) /*this problem can be solved by changing the question type ... from "type the correct answer" to "mark the correct answer"*/
10th Jan 2018, 3:23 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
@ gaurav this can be considered as a prevention of that of problem but not a solution, this should be solved by sololearn developers.
16th Jan 2018, 2:00 AM
Mr.Curious
Mr.Curious - avatar