Strongest Fighter

Half of the test cases are failing.

Check now

Now all the test cases are failing

Use long long int inplace of int and then check

You can refer this code and crosscheck https://ide.codingblocks.com/s/303409

With this code also 3 cases are showing run error

Check if it works now. If still it does not work then there are some issues with the test cases

It is still not working.

This same code is passing all the test cases in my side.

https://ide.codingblocks.com/s/303409

Now it passed. Thankyou so much