Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng
#54 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@aadiitya2007 đang làm issue này rồi.

Từ ngày 20/10/2026.

  • #55 của @aadiitya2007 — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
Python
Star
1
Fork
6
Merge trung bình
22 giờ 59 phút
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của techcsispit/code-corner

Tất cả issue của techcsispit/code-corner

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.