Skip to content

Commit 2f182ca

Browse files
committed
fix: format readme form
1 parent a4f4be3 commit 2f182ca

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

README.md

+28-29
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ Example of checking today's solution:
208208
workspace/leetcode-practice [dev●] » lk -d src -t
209209
MODE: today
210210
Check result for problem [2581.Count Possible Trees]:
211-
┌─────────┬──────────┬──────────┬───────────┬───────────────────────┐
211+
┌─────────┬─────────────┬─────────────────┬──────────────────┬────────────────┬──────────────┐
212212
│ (index) │ Test Result │ Expected Result │ Execution Result │ Execution Time │ Memory Usage │
213-
├─────────┼──────────┼──────────┼───────────┼───────────────────────┤
214-
│ 0 │ 'Failed''3' │ undefined │ '0.0921ms''2.52 KB'
215-
│ 1 │ 'Failed''5' │ undefined │ '0.0119ms''2.66 KB'
216-
└─────────┴──────────┴──────────┴───────────┴───────────────────────┘
213+
├─────────┼─────────────┼─────────────────┼──────────────────┼────────────────┼──────────────┤
214+
│ 0 │ 'Failed' '3' undefined '0.0921ms' '2.52 KB'
215+
│ 1 │ 'Failed' '5' undefined '0.0119ms' '2.66 KB'
216+
└─────────┴─────────────┴─────────────────┴──────────────────┴────────────────┴──────────────┘
217217
Click to jump to problem submission: https://leetcode.com/problems/count-number-of-possible-root-nodes/
218218
```
219219

@@ -235,14 +235,13 @@ Example of checking the specified solution:
235235
workspace/leetcode-practice [dev●] » lk -d src 2581
236236
MODE: identity
237237
Check result for problem [2581.Count Possible Trees]:
238-
┌─────────┬──────────┬
239238

240-
─────────┬───────────┬───────────────────────┐
239+
─────────┬─────────────┬─────────────────┬──────────────────┬────────────────┬──────────────┐
241240
│ (index) │ Test Result │ Expected Result │ Execution Result │ Execution Time │ Memory Usage │
242-
├─────────┼──────────┼──────────┼───────────┼───────────────────────┤
243-
│ 0 │ 'Passed''3''3''0.1668ms''2.52 KB'
244-
│ 1 │ 'Passed''5''5''0.0234ms''2.66 KB'
245-
└─────────┴──────────┴──────────┴───────────┴───────────────────────┘
241+
├─────────┼─────────────┼─────────────────┼──────────────────┼────────────────┼──────────────┤
242+
│ 0 │ 'Passed' '3' '3' '0.1668ms' '2.52 KB'
243+
│ 1 │ 'Passed' '5' '5' '0.0234ms' '2.66 KB'
244+
└─────────┴─────────────┴─────────────────┴──────────────────┴────────────────┴──────────────┘
246245
Click to jump to problem submission: https://leetcode.com/problems/count-number-of-possible-root-nodes/
247246
```
248247

@@ -260,13 +259,13 @@ Example of checking a randomly obtained solution:
260259
workspace/leetcode-practice [dev●] » lk -r
261260
MODE: random
262261
Check result for problem [41.First Missing Positive]:
263-
┌─────────┬──────────┬──────────┬───────────┬───────────────────────┐
262+
┌─────────┬─────────────┬─────────────────┬──────────────────┬────────────────┬──────────────┐
264263
│ (index) │ Test Result │ Expected Result │ Execution Result │ Execution Time │ Memory Usage │
265-
├─────────┼──────────┼──────────┼───────────┼───────────────────────┤
266-
│ 0 │ 'Failed''3' │ undefined │ '0.0896ms''2.42 KB'
267-
│ 1 │ 'Failed''2' │ undefined │ '0.0110ms''2.56 KB'
268-
│ 2 │ 'Failed''1' │ undefined │ '0.0045ms''2.56 KB'
269-
└─────────┴──────────┴──────────┴───────────┴───────────────────────┘
264+
├─────────┼─────────────┼─────────────────┼──────────────────┼────────────────┼──────────────┤
265+
│ 0 │ 'Failed' '3' undefined '0.0896ms' '2.42 KB'
266+
│ 1 │ 'Failed' '2' undefined '0.0110ms' '2.56 KB'
267+
│ 2 │ 'Failed' '1' undefined '0.0045ms' '2.56 KB'
268+
└─────────┴─────────────┴─────────────────┴──────────────────┴────────────────┴──────────────┘
270269
Click to jump to problem submission: https://leetcode.com/problems/first-missing-positive/
271270
```
272271

@@ -287,13 +286,13 @@ workspace/leetcode-practice [dev●] » lk -e
287286
? Select the mode of problem checking: identity
288287
? Enter the problem number: 41
289288
? Do you want to check the problem [ 41.first-missing-positive ] in the current directory [ /Users/mac-106/wh131462/workspace/leetcode-practice ]? Yes
290-
┌─────────┬──────────┬──────────┬───────────┬───────────────────────┐
289+
┌─────────┬─────────────┬─────────────────┬──────────────────┬────────────────┬──────────────┐
291290
│ (index) │ Test Result │ Expected Result │ Execution Result │ Execution Time │ Memory Usage │
292-
├─────────┼──────────┼──────────┼───────────┼───────────────────────┤
293-
│ 0 │ 'Failed''3' │ undefined │ '0.0969ms''2.42 KB'
294-
│ 1 │ 'Failed''2' │ undefined │ '0.0139ms''2.56 KB'
295-
│ 2 │ 'Failed''1' │ undefined │ '0.0051ms''2.56 KB'
296-
└─────────┴──────────┴──────────┴───────────┴───────────────────────┘
291+
├─────────┼─────────────┼─────────────────┼──────────────────┼────────────────┼──────────────┤
292+
│ 0 │ 'Failed' '3' undefined '0.0969ms' '2.42 KB'
293+
│ 1 │ 'Failed' '2' undefined '0.0139ms' '2.56 KB'
294+
│ 2 │ 'Failed' '1' undefined '0.0051ms' '2.56 KB'
295+
└─────────┴─────────────┴─────────────────┴──────────────────┴────────────────┴──────────────┘
297296
Click to jump to problem submission: https://leetcode.com/problems/first-missing-positive/
298297
Problem [41.first-missing-positive] checked!
299298
File address is: /Users/mac-106/wh131462/workspace/leetcode-practice/41.first-missing-positive/index.js
@@ -449,12 +448,12 @@ yarn run v1.22.19
449448
$ node bin/lk.js -d src 1314
450449
MODE: identity
451450
Check result for problem [1314.Matrix Block Sum]:
452-
┌─────────┬──────────┬──────────────────────────────────────┬───────────┬───────────────────────┐
451+
┌─────────┬─────────────┬─────────────────────────────────────────────┬──────────────────┬────────────────┬──────────────┐
453452
│ (index) │ Test Result │ Expected Result │ Execution Result │ Execution Time │ Memory Usage │
454-
├─────────┼──────────┼──────────────────────────────────────┼───────────┼───────────────────────┤
455-
│ 0 │ 'Failed' '[[12,21,16],[27,45,33],[24,39,28]]' undefined '0.1487ms' '2.47 KB'
456-
│ 1 │ 'Failed' '[[45,45,45],[45,45,45],[45,45,45]]' undefined '0.0278ms' '2.61 KB'
457-
└─────────┴──────────┴──────────────────────────────────────┴───────────┴───────────────────────┘
453+
├─────────┼─────────────┼─────────────────────────────────────────────┼──────────────────┼────────────────┼──────────────┤
454+
│ 0 │ 'Failed' '[[12,21,16],[27,45,33],[24,39,28]]' undefined '0.1487ms' '2.47 KB'
455+
│ 1 │ 'Failed' '[[45,45,45],[45,45,45],[45,45,45]]' undefined '0.0278ms' '2.61 KB'
456+
└─────────┴─────────────┴─────────────────────────────────────────────┴──────────────────┴────────────────┴──────────────┘
458457
Click to jump to problem submission: https://leetcode.com/problems/matrix-block-sum/
459458
✨ Done in 1.13s.
460459
```
@@ -479,4 +478,4 @@ To be developed...
479478
480479
[<img src="https://avatars.githubusercontent.com/u/48346853" style="border-radius:50%;" width="30" height="30" alt="EternalHeart"/>](https://github.com/wh131462)
481480
[<img src="https://avatars.githubusercontent.com/u/61453917" style="border-radius:50%;" width="30" height="30" alt="SmartTeddy"/>](https://github.com/SmallTeddy)
482-
[<img src="https://avatars.githubusercontent.com/u/35305691" style="border-radius:50%;" width="30" height="30" alt="Hedwig-Fang"/>](https://github.com/Hedwig-Fang)
481+
[<img src="https://avatars.githubusercontent.com/u/35305691" style="border-radius:50%;" width="30" height="30" alt="Hedwig-Fang"/>](https://github.com/Hedwig-Fang)

0 commit comments

Comments
 (0)