adzo261's blog

By adzo261, history, 16 months ago, In English

Hi Codeforces Community,
I have made an extension to be able to practice speed problem solving on Codeforces.



It can set a timer within Codeforces site so that you get the native contest like feel but for an individual problem.
You can select different timers. Once selected, if you open any problem from Problem set or Contest it will automatically start the timer if it is a new problem for you.

I am not writing much here because I have already written instructions on the github repo.

Suggestions, improvements, and Pull Requests are welcomed!
Looking forward to hearing from the community

Update:
Custom Timer Added.

Thanks!

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

»
16 months ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

Thanks for this. After the timer expires if i want to solve it again it is not showing a timer and it says Timed out. I also want to set different times for different task (depending on their difficulty) but can this be improved?

  • »
    »
    16 months ago, # ^ |
    Rev. 3   Vote: I like it 0 Vote: I do not like it

    Thanks for trying ! You can change the duration before opening a problem from extension icon menu. And once you use the timer on a problem, you can't use it again for same problem. For now, you can remove the extension from Extensions page and add again and choose correct timer before opening a problem.
    For now, for different timers for different tasks, choose timer each time you are going to solve a problem. For E.g First choose 5 mins for A and after solving choose 10 mins and solve C may be and so on.

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

there is a bug when I set the counter to 20 min for example and reload the problem , it say "finished" while it doesn't count down .also I suggest some new features. it will be great if you make it available to set the timer to a custom time .

  • »
    »
    16 months ago, # ^ |
    Rev. 3   Vote: I like it +1 Vote: I do not like it

    Hi, Thanks for trying !
    Once you start a timer, it can't be changed for that problem.
    So one should select the timer before opening a problem.
    And, if the problem is already solved the timer changes to Finished.
    I think that may be the case for you, you must have chose already solved problem.
    Do correct me if I am wrong.
    I highly appreciate the suggestion for custom timer, and I will implement it. Thanks!
    Also, I would like to ask, is it good to reset the timer, even after we have used it for same problem? Like you tried refreshing the page to change timer ?
    Will it be a good and natural option ?
    i.e Once you select timer, the already selected one resets and starts a new timer.

    Update: — Custom Timer is now added. Do check it out.

    • »
      »
      »
      16 months ago, # ^ |
      Rev. 3   Vote: I like it 0 Vote: I do not like it

      it will be a good idea to start the counter even if the problem has been solved before. for example if someone wants to try another approach for the same problem . there is a good thing that you should keep (when you set the stopwatch for 1 hour , it is appear in all problems that have been opened in the browser so) so it will help if I want to solve a specefic number of problems in total X time . also , it's natural if someone reload the page to reset the timer , one may reload the page by mistake so , it is fine to keep the timer even if reloading the page. there is a bug . set the timer for example to 1 hour for two problems in your browser . the timer will work correctly for these two problems but , if you open a new problem after 15 minutes , the timer will start from the beginning of time (01:00:00) instead of (45:00:00) . finally , thank you for your great work :)

»
16 months ago, # |
  Vote: I like it +3 Vote: I do not like it

it would be great if you extend this extension for opera and mozilla firefox also :D

  • »
    »
    16 months ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    Hi, if enough people want for Mozilla Firefox, I will surely extend when I get time.
    Not sure about Opera though.

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

      I hope for the firefox's extension too

    • »
      »
      »
      3 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      So are you planning to make it for firefox or not?

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

It said Timed Out and I cant use Reset or Done button. How can I reset it

Can you add a "Reset" button to it ?

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

Okay, I didn't know this extension exists, I have felt the need for such a tool for quite a time now. I will try it and post a review here if I like it!

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

Extension is nice, but being able to apply timer on the same problem again is really necessary... i hope you'll add that soon.

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

Hi. Can you please make chages to the extension so that we can start the timer when we want(and can't stop in between). At times, you just open the problem just to see it and don't start solving at the same moment. For eg. in a contest one would open all the problems at once but actually start solving something later on. Also, once the timer has finished, please add a feature that we can restart it.

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

adzo261 Is it only for codeforces, or works on other websites as well ? eg. leetcode, atcoder

»
3 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Is there a way that you can include a stopwatch in there as well?

The extension is great. When I solve problems, mostly I want to know how much time I spent solving the problem than setting a limit for the time spent.

Thank you