Seferoglu's blog

By Seferoglu, history, 11 months ago, In English

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

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

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

I have some amazing slides if you need.

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

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 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    this is very cool but I am trying to learn it by heart so that I can implement it quickly in a real contest just like I am comfortable with c++

»
11 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

Yes, you should learn basic loops in bash :)