Блог пользователя AR705

Автор AR705, история, 9 месяцев назад, По-английски

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!

  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится

»
9 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can you add for FireFox too?

»
9 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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 месяцев назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    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 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

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