I am running it on codechef online IDE.
SIGEMT? Are you sure you typed it correctly?
SIGEMT It is the emulator trap. It results from certain some unimplemented instructions (i.e you are trying to give a instruction which is not implemented in GNU library) which might be emulated in software, or the operating system’s failure to properly emulate them.
This Error Can’t be removed.
try other compiler, it will surely help you.