Символ не из ASCII в nrzi_encoding.clj
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- testing-qa
Research direction
Start with nrzi_encoding.clj and reproduce the reported C++ case containing the non-ASCII character ¯, comparing the resulting character values and string length with the expected behavior. Done means this input is handled without the reported length increase and the relevant behavior is covered by an appropriate check.
Written by the indexing model from the issue text.
Description
При попытке решить задачу на C++ происходит UB, так как каждый символ '¯' трансформируется в два символа char(-62) и char(-81), из-за чего длина строки увеличивается на количество символов '¯' и, как следствие, правильное решение не работает.
Код:
Вывод:
- Dominant language
- Clojure
- Stars
- 71
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 hexlet-codebattle/battle_asserts
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hexlet-codebattle/battle_asserts#1073 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
hexlet-codebattle/battle_asserts#1072 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
hexlet-codebattle/battle_asserts#1036 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
hexlet-codebattle/battle_asserts#1001 · 1 comment ·
All issues in hexlet-codebattle/battle_asserts
Similar issues
-
Disable the admin-console by default in the devenv frontendPossibly taken @niwinz claimed this today. Openneeds triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
`sequence` does not accept a transducer with more than one collectionPossibly taken @burinc claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Difficulty 2/5 1-2 days Newbie friendliness 65/100
metabase/metabase#87126 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 Under an hour Newbie friendliness 70/100