I want to know why after submitting correct solutions to the first two problems of Codeforces Round #642 (Div. 3) my rating decreased from 1187 to 1145. I searched online to understand how the system works but couldn't find anything specific to my case. Please enlighten me on why this might have happened.