disypher's blog

By disypher, history, 13 months ago, In English

Hey Codeforces Community,

They say the best code is the one you write every day. To that end, I present Codeforces POTD 2.0 – now on Chrome Web Store and, yes, fully open-sourced on GitHub.

Github Repo: https://github.com/Ntropy86/Codeforces-Calendar/tree/main

Store Link:https://chromewebstore.google.com/detail/kdpcekneldcnkajbmabmfgdpcdjdmcfd?utm_source=item-share-cb

What's in the new algorithmic arsenal?

  • MongoDB backend – Because nested if-statements aren't the only thing that should be structured
  • Rating-matched problems – Adapts to your skill like a good binary search adapts to its input
  • Visual streak calendar – Watch your consistency grow faster than O(n²)
  • Automatic validation – We track your submissions so your brain can focus on the next DP optimization

Two announcements in O(1) time:

Chrome Web Store: Get the extension here before you can say "Time Limit Exceeded" Now Open Source: The entire codebase is available on GitHub – inspect the algorithms, optimize our queries, or contribute that feature you've been wishing for. Fork it faster than a greedy algorithm grabs coins.

How it works Enter your handle, solve the day's problem, and watch your streak grow. It's that simple – unlike proving P ≠ NP. Final thoughts As we all know, the most elegant solution isn't the one with the most lines of code, but the one that consistently gets the job done, day after day. May your streaks be long and your runtime errors few.

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

| Write comment?
»
13 months ago, hide # |
Rev. 2  
Vote: I like it +2 Vote: I do not like it

"the most elegant solution isn't the one with the most lines of code"

An idiot admires complexity, a genius admires simplicity. Therefore, I admire complex solutions

»
13 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Could you make it possible set a min or max rating bound on the potd

»
13 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Excited to use this, wonderful extension

»
13 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Its a very helpful extension , but as one person already mentioned , its messing with username in profile page . Also I think its messing with the solve heat map , even after I solved the problem , nothing is reflected on the heat map .

  • »
    »
    13 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Apparently,

    Codeforces is operating in the limited mode due to technical reasons that is why historical data is affected. I don't think, it is because of the extension. Should be rectified in a few hours.

    If it still persists, please let me know.

    • »
      »
      »
      13 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      well , I dont know if its only for my profile or all others but , yeah , till now there is no update in heat map

»
13 months ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Hello bro thanks for creating this extension i personally used it so much. Btw i have a suggestion i was going through your code to see how you decide rating of problem and i see you are choosing problem with rating + 200 to ceil of out (rating/100)*100 I have a few suggestions regarding the offset

  1. Make offset random between -200 to 200 that would include a good range of problems for practice instead of only +200

  2. Another way is you could ask user for a maximum negative and a positive offset and then choose a problem with offset randomised between them it.

I think this would be more beneficial as it would include a greater range of questions and topics due to greater range in ratings.