Coding practice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Coding practice

Actually I try to solve beginners section in codechef and 9 out of 10 times I don't get the answer so actually what to do

12th Jul 2019, 12:44 PM
I Am Anushka
3 Answers
+ 12
Wrong answer means that your program is not printing out the correct answer. You will just have to debug your program carefully. Run your code on paper first, understand it and then actually program it. Considering Codechef's problem statements, then you should not only consider the test cases given with the problem statement. Most of the times, you have to assume and create your own test cases. I have also solved Codechef's Beginner problems but 90% of the times I have got Wrong Answer or Run-time Error. But keep trying will only let us solve those problems. You can also ask if you get struct anywhere. You can also opt for some other sites for solving problems and then go to Codechef after learning more new things and also solve Sololearn's Assignments using Python.
14th Jul 2019, 7:54 AM
Nova
Nova - avatar
+ 4
Keep at it. I don't know anything about codechef, but if possible study the answer. Ask people here to explain things so you can learn.
14th Jul 2019, 4:00 AM
John Wells
John Wells - avatar
0
👍👍👍👍👍
15th Jul 2019, 11:43 PM
Manibharathi
Manibharathi - avatar