Code not compiling

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

this error is showing on compiling i have tried in eclipse its working fine.
Please help

The issue is resolved as there was closing braces missing

hey @Ashishk
Please mark your doubts as resolved in your course’s.