TLE and Wrong Answer

Here is the link to my code -

It is giving me TLE and wrong answer in all of the cases ?
and I’m not able to figure out what changes shall be made ?
Please mark the changes and the errors.
Thanks

hello @Vishesh-Chaitanya-1475805525886480

check now->