Editorial for Mock CCC '24 Contest 1 J2 - Simple Elo Rating System
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
This problem asks you to simulate Alice and Bob's Elo ratings throughout the games they played. The intended solution was to iterate through the games and simulate each round. If the current game is a W
, you set Alice's score to T
, you set Alice's score to L
, you set Alice's score to
Time Complexity:
Comments