Runguard: warning: timelimit exceeded (wall time): aborting command runguard: warning: command terminated with signal 15

The code works fine on the text editor but shows the above errors on coding blocks ide. On submission, it shows Time Limit Exceeded. What other methods could be used.