SIGSEGV error

Online Compiler and IDE - GeeksforGeeks.
Getting SIGSEGV error with this code.Can anyone help

link not working.

Try with this

Can you provide the input for your code giving the error?