Let's say 3 friends want to practice together by entering a virtual Codeforces contest at the same time. Add a command such that they can input the start time and the contest type (Ex. div 3) for a contest, and have the bot suggest a contest that none of the three have participated in before, with confirm and deny buttons.
The command should follow the following syntax:
/random-contest usernames: <comma separated list of CodeForces usernames> contest_type: <div> start_time: <ISO 8601 datetime with a time zone offset>
After the command is input, have the bot give some kind of confirmation message.
When the contest is over (let's say after two hours), the bot should show the results of the virtual contest, including the following information for each participant:
Username
Rank relative to all other participants mentioned in the command
User's rank in the CodeForces contest, relative to all CodeForces users in that contest
Let's say 3 friends want to practice together by entering a virtual Codeforces contest at the same time. Add a command such that they can input the start time and the contest type (Ex. div 3) for a contest, and have the bot suggest a contest that none of the three have participated in before, with confirm and deny buttons.
The command should follow the following syntax:
/random-contest usernames: <comma separated list of CodeForces usernames> contest_type: <div> start_time: <ISO 8601 datetime with a time zone offset>
/random-contest usernames: _AhmedMohamed_, Shayan contest_type: div3 start_time: 2024-09-16 07:37:00 +03:00
After the command is input, have the bot give some kind of confirmation message.
When the contest is over (let's say after two hours), the bot should show the results of the virtual contest, including the following information for each participant: