Hi,
I wrote a simple Tampermonkey script that adds a POTD (Problem of the Day) button on Codeforces.
Clicking it will give you a problem with a rating similar to your current rating.
Links:
- Download Script (GreasyFork)
- GitHub Repo
DESIGN CHOICES
Minimize API Calls During Contests
All API calls are done only when clicking "POTD", making the button slightly slower to respond, but keeping page refresh fast and lag-free during contests.User-Specific POTD
Each user gets a different POTD, depending on their current rating (curr_rating).Rating Range
POTD will be in the range:[curr_rating - neg_delta*100, curr_rating + pos_delta*100]
curr_ratingis rounded down.- Example: If a user's rating is 1650, POTD can be one of [1400, 1500, 1600, 1700, 1800].
- You can change the distribution by modifying the
neg_deltaandpos_deltaconstants.
Unsolved Problems Only
POTD will always be an unsolved problem, unlike LeetCode where POTD can be already solved.
This ensures a truly user-specific challenge.Regenerating POTD
After solving a POTD, clicking the button again gives a new unsolved problem.
This makes the POTD button work as both a Problem of the Day and a random problem generator.
If you have any feedback or feature requests, let me know—I’ll try to add them!



