Facing tle error

i’ve used the given code https://ide.codingblocks.com/s/235048

hello @Divit-Goel-2940158062683318
you need to answer q such queries.
read q and put this ->
image
inside while loop.