hello @vanisinghal0201 print output for each testcase in separate line
it is showing timelimit error
it is working fine.
try submitting in incognito