The first guess is: a and C.
The second place was guessed: B.
The third place was guessed: A and B.
The fourth place was guessed: e and d.
The fifth place was guessed: Ding and C.
Everyone guessed right in every ranking, so the second place can only be B, so the third place can only be A, and so on.
A is the third place
B is the second place
C is the first place.
Ding is the fifth
E is the fourth place.