Hi,↵
↵
I wrote a simpletTamper monkey script that adds a **POTD (Problem of the Day)** button on cCodeforces on c. ↵
Clicking ityou will be given you a problem with thea rating simillar to what you are on currently,your current rating.↵
↵
**Link to ds:** ↵
- [Downloadthe script: Script (GreasyFork)](https://greasyfork.org/en/scripts/560655-cf-potd↵
↵
) ↵
- [Git hHub rRepo: ](https://github.com/saitamapunches123/CF-POTD)↵
↵
↵
---↵
↵
### DESIGN CHOICES:↵
↵
1) To avoid1. **Minimize API cCalls dDuring cContest all calls will bs** ↵
All API calls are done **only when clicking "POTD" thus**, making clicking POTD a bit slowerthe button slightly slower to respond, but keeping page refresh fast thus no lag and lag-free during contest↵
2) POTD are use specific that is for each user POTD will bes.↵
↵
2. **User-Specific POTD** ↵
Each user gets a **differentas POTD**, depending on the user curr_rating↵
3)ir current rating (`curr_rating`).↵
↵
3. **Rating Range** ↵
POTD will be in the range : `[curr_rating- - neg_delta*100 , curr_rating+ + pos_delta*100] where ` ↵
- `curr_rating` is rounded down.For e ↵
- Example:iIf a user's rating is **1650**, POTD can be one of **[1400, 1500, 1600, 1700, 1800]↵
Please change**. ↵
- You can change the distribution by modifying the `neg_delta` and `pos_delta` constant varias.↵
↵
4. **Unsolved Problemsif you want to change distributionOnly** ↵
3) POTD will **always be an unsolved problem U**, unlike LeetcCode where POTD can be an already solved problem. As they follow a global POTD model but this is using a. ↵
This ensures a truly user -specicfic challenge.↵
↵
5. **Regenerating POTD↵
4) on** ↵
After solving a POTD and, clicking "POTD" again you will bethe button again givens a **new unsolved "POTD" this is done as I wantproblem**. ↵
This makes the"POTD" link button work as both a POTD**Problem of the Day** and a **random problem Ggenerator**.↵
↵
---↵
↵
Lmk iIf you have any **feedback** or **feature request wis**, let me know—I’ll try to add it.↵
↵
↵
them!↵
↵
I wrote a simple
Clicking it
↵
**Link
- [Download
↵
- [Git
↵
↵
### DESIGN CHOICES
↵
All API calls are done **only when clicking "POTD"
2) POTD are use specific that is for each user POTD will be
↵
2. **User-Specific POTD** ↵
Each user gets a **different
3)
↵
3. **Rating Range** ↵
POTD will be in the range
- `curr_rating` is rounded down.
- Example:
Please change
- You can change the distribution by modifying the `neg_delta` and `pos_delta` constant
↵
4. **Unsolved Problems
This ensures a truly user
↵
5. **Regenerating POTD
4) on
After solving a POTD
This makes the
↵
---↵
↵
↵
↵




