hermit_parth's blog

By hermit_parth, history, 4 months ago, In English

Hi,

I wanted to change my handle on codeforces but it requires the password which I don't remember (I use Google account to log in). And I have been trying to reset my password using Forgot your password since yesterday but I havent recieved any mail form codeforce to reset my password. Is this broken??

Can someone test this and lmk if I am doing something wrong

Thanks!

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it

By hermit_parth, history, 4 months ago, In English

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

  1. 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.

  2. User-Specific POTD
    Each user gets a different POTD, depending on their current rating (curr_rating).

  3. Rating Range
    POTD will be in the range: [curr_rating - neg_delta*100, curr_rating + pos_delta*100]

  • curr_rating is 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_delta and pos_delta constants.
  1. 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.

  2. 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!

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it

By hermit_parth, history, 8 months ago, In English

Hi

Does anyone know why there are no div2 scheduled.

Its been around a week since the last div 2 and for the next week also i cant see any div2s.

What should i do with all this free time? touch grass?

Full text and comments »

  • Vote: I like it
  • +64
  • Vote: I do not like it

By hermit_parth, history, 9 months ago, In English

How does D already have 4k submissions?

How does C have 12k submissions (with 10 minutes left in the contest)?

I thought I was having a good contest, So I stayed in the zone, and didn’t check the standings.

After submitting D, I finally saw the standings — and I am shocked I am wondering about quitting CP altogether at this point.

I miss the days when solving up to C roughly meant Expert-level performance… …and solving up to D was around Candidate Master-level.

Have I genuinely become bad at programming? Or is there something else going on?

Full text and comments »

  • Vote: I like it
  • +76
  • Vote: I do not like it