Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing the delays from oj submit, or oj submit --force? #711

Closed
GaurangTandon opened this issue Mar 24, 2020 · 3 comments
Closed

Removing the delays from oj submit, or oj submit --force? #711

GaurangTandon opened this issue Mar 24, 2020 · 3 comments

Comments

@GaurangTandon
Copy link

It it possible to remove the sleep(3.0) and the Are you sure?[y/N] from the submission feature. It is sometimes quite frustrating when you've solved a simple problem and know that the solution is correct.

So, could we add:

  1. --force/-f flag in oj submit command
  2. boolean option in some .ojconfig file

telling oj submit to not add the extra delay.

(sorry for spamming with issues, but I just started using this tool for and it's working awesomely :) thanks for it!)

@fukatani
Copy link
Contributor

fukatani commented Mar 24, 2020

Please try oj submit -y -w 0.
You can change wait time by -w option, and '-y' option skips [y/N] checking.

@kmyk
Copy link
Member

kmyk commented Mar 31, 2020

Some people ask the same question.

online-judge-tools、デフォルトではsubmitのwait時間が三秒になっているので、これを短くすればタイムが縮んで順位が上がるという知見を得た。私の場合日立コンであと2秒速かったら4位上がる。

— fukatani (@fukafukatani) March 16, 2020

online-judge-toolsの提出前に強制的に3秒スリープするのって変えられないんですか

— こどふぉ埋める (@andoreiji11) March 30, 2020

@kmyk
Copy link
Member

kmyk commented Mar 31, 2020

By the way, I don't recommend removing the delays and confirmations, because they are "safety devices". Of course, you can earn 3 seconds by removing them. But when you make mistakes to submit and get penalties, you lost much more time (e.g. 5 minutes in AtCoder).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants