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

My Code

I am getting this error but other IDE’s give me correct ans for this problem of finding triplets that add up to a target. Kindly help.