leetcode的id和slug不匹配
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start at the command-line entry point exercised by cargo run 179 and trace how the API response's problem ID and slug are selected or displayed. Reproduce the reported output, then verify that the requested problem's identifier and slug correspond consistently.
Written by the indexing model from the issue text.
Description
我改了下代码输出接口获取的problem,发现id和slug并不匹配:
cargo run 179
Compiling leetcode-rust v0.1.0 (/Users/daniel/CLionProjects/leetcode-rust)
Finished dev [unoptimized + debuginfo] target(s) in 3.86s
Running `target/debug/leetcode-rust 179`
id: 1057, code: rust, slug: numbers-with-repeated-digits
id: 1056, code: rust, slug: capacity-to-ship-packages-within-d-days
id: 1055, code: rust, slug: pairs-of-songs-with-total-durations-divisible-by-60
id: 1054, code: rust, slug: complement-of-base-10-integer
id: 1050, code: rust, slug: construct-binary-search-tree-from-preorder-traversal
id: 1049, code: rust, slug: minimum-domino-rotations-for-equal-row
id: 1048, code: rust, slug: clumsy-factorial
id: 1047, code: rust, slug: maximize-sum-of-array-after-k-negations
id: 1046, code: rust, slug: max-consecutive-ones-iii
id: 1045, code: rust, slug: check-if-word-is-valid-after-substitutions
- Dominant language
- Rust
- Stars
- 764
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aylei/leetcode-rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
aylei/leetcode-rust#46 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
aylei/leetcode-rust#22 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
aylei/leetcode-rust#7 ·
-
New macro for testing collections' equality despite orderingMay be free again @aylei claimed this 2782 days ago, and no pull request is open. Open
aylei/leetcode-rust#2 · 1 assignee ·
-
Automatically generating solution list in READMEMay be free again @aylei claimed this 2782 days ago, and no pull request is open. Open
aylei/leetcode-rust#1 · 1 assignee ·
All issues in aylei/leetcode-rust
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Docs: "Work with Codex from anywhere" page still claims Windows mobile support is "coming soon"Openapp documentation remote windows-os
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oxidecomputer/dendrite#380 ·
Maintainers usually reply within 5 days
-
area:cli bug good first issue priority:high
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day