You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -144,6 +145,21 @@ This is useful for running submissions without having to compile them manually.
144
145
-`--samples`: Run the submission on the samples only. Can not be used together with explicitly listed testcases.
145
146
-`--timeout <second>`/`-t <second>`: The timeout to use for the submission.
146
147
148
+
## `timelimit`
149
+
150
+
The `timelimit` command is used determine a timelimit based on `time_multiplier` and `time_safety_margin`.
151
+
The syntax is:
152
+
153
+
```
154
+
bt timelimit [<submissions and/or testcases>]
155
+
```
156
+
157
+
**Flags**
158
+
-`--write`/`-w`: write the determined timelimit to `.timelimit`
159
+
-`--all`/`-a`: run all submissions not only AC and TLE submissions.
160
+
-`<submission>`: The path to the submission to use to determine the timelimit. See `run <submissions>` for more.
161
+
-`<testcases>`: The path to the testcases to use determine the timelimit. See `run <testcases>` for more.
162
+
147
163
## `generate`
148
164
149
165
Use the `generate` command to generate the testcases specified in `generators/generators.yaml`. The syntax of this file is described in [generators.md](generators.md) and [generators.yaml](generators.yaml) is an example.
0 commit comments