One test case if failing and I'm unable to resolve error kindly help

One test case if failing and I’m unable to resolve error kindly help

@nimesh9528_107cdda62f8b466b buddy please ask the doubt again by mistake this doubt came to me and im TA of cpp batch, sorry for the inconvenience