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

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

Hello CodeForces, today I tried solving an output-only problem for the first time but had lots of difficulties with bash scripting to create zips, direct input-output and stuff like that. I have always memorised the stress testing code from Errichto's amazing yt video on stress testing and since it is quite short it has served me well upto this point and so I never learned bash scripting. But now I really started thinking that I should learn it to solve output only problems. I'd like to hear your thoughts on the matter and get some nice links or resources.

Thanks for your attention

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

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

I have some amazing slides if you need.

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

not only stress testing.

I write a single bash script which is basically all in one bash script for CP. key features:

  • Smart parsing

  • Custom compilation modes (debug mode)

  • Manual test case addition

  • Solution checking with execution time

  • Stress testing (also support which problem have multiple test case)

  • Beautifully formatted output with icons and color

all_in_one Bash Script

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

Yes, you should learn basic loops in bash :)