the above error occurs when done in challenges but in iDE it works good.
Runguard: warning: timelimit exceeded (wall time): aborting command runguard: warning: command terminated with signal 15
1 Like
instead of double use int as it is not mention in question to print ans in decimal
Modified Code
now it is passing all testcases
i hope this helps
if yes hit a like and donβt forgot to mark doubt as resolved
if you have more doubts regarding this feel free to ask
can you please help me i am also getting the same error