feat(roman-numerals): add C++ solution
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Description
Under the Contributing section of the README:
"- Add a solution in a language a problem doesn't have yet (
solution.rs,solution.c, ...)."
Currently, problems/roman-numerals only has solutions implemented in Python (solution.py) and Go (solution.go). There is no C++ implementation provided for this problem.
Proposed Solution
Add a standard C++ implementation (problems/roman-numerals/solution.cpp) that:
- Reads the target integer from standard input.
- Converts the integer to Roman numerals using subtractive notation (e.g.
IV,IX,XL,XC,CD,CM) across the valid input range from 1 to 3999. - Passes all existing test cases in
cases.txtviapython3 run.py roman-numerals --lang cpp.
- Dominant language
- Python
- Stars
- 1
- Forks
- 6
- Avg merge
- 22h 23m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No 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 techcsispit/code-corner
-
feat(palindrome): add C solutionPossibly taken @aadiitya2007 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
techcsispit/code-corner#58 · 1 comment ·
Maintainers usually reply within 1 day
-
Test runner reports success when no solutions are executedPossibly taken @vivek-3728 claimed this 1 day ago. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
techcsispit/code-corner#53 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
prime/solution.java doesn't compile: public class PrimeCheck in solution.java, README requires Solution.java with a Solution classPossibly taken @tanujb03 claimed this 11 days ago. Openbug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 82/100
techcsispit/code-corner#35 ·
Maintainers usually reply within 1 day
-
feat(binary-search): add JavaScript solutionPossibly taken @aadiitya2007 claimed this 1 day ago. Openfeature
techcsispit/code-corner#56 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Failed compilations always report 0.000 secondsPossibly taken @Nik-2208 claimed this 8 days ago. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
techcsispit/code-corner#37 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in techcsispit/code-corner
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
521xueweihan/HelloGitHub#4063 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Vanilla-OS/apx-gui#112 ·
-
Devstral and Voxtral: section 5 fails in us-east-1 with 400 "Model does not support audio modality"Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aws-samples/sample-per-model-bedrock#409 ·
Maintainers usually reply within 1 day
-
DuckDB 2.0 breaks to_pyarrow_batchesPossibly taken @DG47 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ibis-project/ibis#12196 ·
Maintainers usually reply within 1 day