Rating updated is very inaccurate

Describe your issue

I solved a question at the very end of the contest Starters 117 Division 2. Keep in mind the question was rated near 2800 and only 4 of the people solved this question during the contest. The live rating shows a decline in rating after solving this question. and I was granted +40 only for scoring 38 rank. Seems way off and inaccurate.

Screenshot

Additional info

Hi @chanpreetug20
You can read about ratings system here