Strongest Fighter

https://ide.codingblocks.com/s/317031 my code is giving tle for 2 test cases

Hello @tusharjha9835 there was one error in line 30 .Your for loop should start from k.
i have corrected the code and please now try to submit it .
here is the link for the correct code https://ide.codingblocks.com/s/317567.
Happy Learning !!