Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

Using pipes in generator script: add random argument to every command in line #307

Closed YakutovDmitriy closed 1 year ago

YakutovDmitriy commented 5 years ago

Sometimes tests for the problem are complex, e.g.:

In such cases it is easy and logically to use pipes in generating script:

I've noticed that in such case random string is added only for the last command in pipe sequence, e.g. script above transforms into gen_graph 100 | gen_queries 200 15d6b180750e2f7de059eb156286f151. It means that all the graphs generated by this line are the same. It is not a big deal, you can just add argument by yourself: gen_graph 100 asdfjhsakdjf | gen_queries 200. But it is pretty uncomfortable use this in stresses.

I guess I won't be hard to add a random argument to every of commands in line

MikeMirzayanov commented 3 years ago

Is it about a stress?

YakutovDmitriy commented 3 years ago

Is it about a stress?

No, this is about field "Script" on tab "Tests". But I guess this issue can be applied to stress tab too.

MikeMirzayanov commented 1 year ago

Fixed in stresses