Code can't be compiled.plz help

What does this error mean?
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15

@apoorvagupta1 this means your code is going into an infinite loop, hence the compiler stopped its execution.
In the while loop your condition is while n >= 0
it should be while n > 0
because n will eventually become 0 only, so your condition will keep evaluating to true and the loop will never break
corrected code: https://ide.codingblocks.com/s/289666
Dont forget to mark the doubt as resolved!