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
Note : This will first execute the default testcases and then submit the solution to leetcode only if the testcases pass as a preventive measure to avoid submitting wrong solution.
150
+
Note : This will first execute the default testcases (or the specified testcases if given) and then submit the solution to leetcode only if the testcases pass as a preventive measure to avoid submitting wrong solution.
146
151
147
152
- Submit src/main.rs to leetcode without running testcases
148
153
149
154
```bash
150
-
leetcode-runner-cli -fs /src/main.rs
155
+
leetcode-runner-cli -fs -f /src/main.rs
151
156
```
152
157
153
158
- Pack your code and question into a directory to maintain your progress or upload on Git
154
-
159
+
155
160
```bash
156
-
leetcode-runner-cli -p /src/main.rs
161
+
leetcode-runner-cli -p --file /src/main.rs
157
162
```
158
163
159
164
#### Note
@@ -164,7 +169,7 @@ fn main() {
164
169
165
170
So, in the above examples, you can simply do `cd ./src` and then run the following commands :
166
171
167
-
- Execute with custom testcases : `leetcode-runner-cli -rt ./testcase.txt`
172
+
- Execute with custom testcases : `leetcode-runner-cli -r -t testcase.txt`
168
173
- Execute with default testcases : `leetcode-runner-cli -r`
169
174
- Submit : `leetcode-runner-cli -s`
170
175
- Submit without running testcases : `leetcode-runner-cli -fs`
@@ -188,4 +193,4 @@ More languages can be added manually as per requirement by [changing enum](https
188
193
- This Project is [Apache-2.0](./LICENSE) Licensed
0 commit comments