AR705's blog

By AR705, history, 9 months ago, In English

Hello everyone,

Have you ever opened the Codeforces problemset to practice, applied filters and everything, but wished someone could pick a random problem for you from the problemset table?

Well, I developed a simple extension that adds a "Pick One" button, which picks a random problem for you from the current problemset.

App Demo

Extension Installation

Source Code

Please let me know if you have any feedback!

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

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

Can you add for FireFox too?

  • »
    »
    9 months ago, hide # ^ |
     
    Vote: I like it +3 Vote: I do not like it

    I am working on it. Once it is available, I will update the blog and let you know as well.

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

    I just updated the blog. The extension is now available on Firefox. You can download it from here.

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

Usually what I do is generate random number between 1-10 each page and then find it from the top,

This extension will help me do 1-100 instead haha.

But I'm more interested in how it's implemented, to be honest I never wrote an extension for any browser before.

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

    Haha, the extension actually works almost exactly like what you've said!

    It accesses the problemset table and picks a random problem based on a randomly generated number.

    You can view the source code here.

»
9 months ago, hide # |
Rev. 2  
Vote: I like it +1 Vote: I do not like it

Great job ya man. Can you add to pick only from unsolved problems?