4 online-judge-tools features you might have missed

Правка en1, от terraformer, 2020-03-16 18:01:54

Do you use online-judge-tools? If not, it is valueable tool to try.

Your operation in competitive programming will become automated and the competition programming experience will be comfortable.

Good tutorial is here.

online-judge-tool seems simple, but if you execute, oj test --help you can find about 20 command line options for oj test.

Other subcommand (login, download and etc.) have many command line options.

Therefore, today I want to my favorite online-judge-tools features.

  1. Side-by-Side diff

This is very new feature.

And you

  1. Float error judge

Some problem requires floating point output. (ex. 2.500000) In many situation, relational and absolute error is allowed for these problems.

oj test can handle these errors by -e option.

If problem expectation 3 and your program outputs 3.00000001

https://codeforces.com/8c5924/oj1.png

  1. MLE and TLE checking

oj t -c './a.out' --mle 56

oj t -c './a.out' --tl2 2.5

  1. API

This is feature for developers.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский terraformer 2020-03-18 17:03:35 81
en5 Английский terraformer 2020-03-17 16:57:11 2 Tiny change: '.\n\nex.\n```\n$ o' -> '.\n\nex.\n\n```\n$ o'
en4 Английский terraformer 2020-03-17 16:55:52 1571 (published)
en3 Английский terraformer 2020-03-17 16:33:39 1490
en2 Английский terraformer 2020-03-16 18:08:15 555
en1 Английский terraformer 2020-03-16 18:01:54 1222 Initial revision (saved to drafts)