How to fix all kind of error s is thier any solution | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

How to fix all kind of error s is thier any solution

Is thier any one who explain errors occurs in code eg. Run time error, time limit exided etc why they occurs and how to overcome

3rd Jan 2019, 6:52 PM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
5 Answers
+ 9
When run time errors occurred
3rd Jan 2019, 7:08 PM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
+ 9
t=int(input("")) while (t>0): a=int(input("")) b=int(input("")) r=int(a%b) print(r) t=t-1
3rd Jan 2019, 7:18 PM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
+ 9
In this program , where run time error occurred
3rd Jan 2019, 7:18 PM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
+ 9
I am try it on codechef ide ,for others it works bt in codechef ide it shows run time error , why this happened ?
3rd Jan 2019, 7:23 PM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
+ 1
On Sololearn you have to do all the inputs at the beginning, you have no genuine runtime mode. Your code requires a flexible input, so that doesn't work.
3rd Jan 2019, 7:33 PM
HonFu
HonFu - avatar