I’m getting both on successful submission page under same subtask.
You are violating the constraints of asking question. Consider the problem MAXEP from December Long. If you are out of coins and still asking question , you will get wrong answer verdict with -1.0000.
And wrong answer verdict with 0.0000 means you are not violating the constraints but your final answer is not matching with judges’ answer.
Hope this helps
i think it might be the constraints… but i got the same negative running time and WA when i wrote the program in java and when i submitted it with python i got an AC … i still don’t know what was the issue… maybe some bug… maybe my mistake… dun knw