Why is my code not running

this same code works in geeks for geeks

Post the link to the code.