Strongest Fighter Problem

I tried solving this problem. However,the code is not getting passed for the last 4 test cases. Please help me find out why is that so.
LINK : https://ide.codingblocks.com/s/312784

Kindly help me solve this issue as soon as possible

Your approach is correct. Use long or long long int data type and then check.
Refer this https://ide.codingblocks.com/s/303409

Thankyou. My code got submitted but I’m not rewarded with any points for this question. Why is it so?

If you have opened the editorial or unlocked the test cases then points will not be rewarded.
If this is not the case, then there may be some technical issue. Submit it again and check after sometime

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.