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!









Auto comment: topic has been updated by hermit_parth (previous revision, new revision, compare).
No POTD button is showing up on profile.
hey can you check it should be there in the top right if not can you check if you have correctly installed tamper monkey and the script is on
The script has been correctly installed and script is on but nothing is showing up on top right section.
What browser are you on?
Chrome
i tested it out on chrome seems to be you can connect with me on https://www.linkedin.com/in/hermitparth/ i can help you there properly
okay
your developer tools/mode(idr) option would be disabled or something like that. when you open the tampermoneky extension it will show some suggestion on the top(if things are not working) , just click on it and you will get the guide
Now POTD link is showing up on profile, but when I click on it no question is coming up.
it would be great if we also could select what topic questions we would like to have
I feel with POTD it should be random and not based on Topics