Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(roman-numerals): add C++ solution

Chiusa
#54 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@aadiitya2007 ci sta già lavorando.

Dal 20/10/2026.

  • #55 di @aadiitya2007 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feature

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.txt via python3 run.py roman-numerals --lang cpp.
Lingua principale
Python
Stelle
1
Fork
6
Merge medio
22h 59m
PR unite (30g)
25

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di techcsispit/code-corner

Tutte le issue di techcsispit/code-corner

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.