If B is wrong, then B is the worst, which contradicts A and does not hold water.
If c is wrong, a is the worst, c is not the best, but it is higher than the referee and b, so it is b, c and d.
If Ding is wrong, C is the best, A is the worst, and Ding is 2 or 3, then Ding's words are right and contradict the hypothesis.
To sum up, the total score is ranked as B, P, D and A.