Add more hard problems
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js, python
Hướng nghiên cứu
Read backend/arena/docs/problems.md and inspect the existing problem JSON and reference solutions in backend/arena/problems/ and backend/arena/solutions/ to understand the format and constraints. Add one original hard problem with JavaScript and Python reference solutions, using only types listed in issue #3 and keeping the gaming theme. Run cd backend && npm run validate:problems; done means both solutions pass all examples and tests, including edge cases and a large input that rules out brute force.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem set has 17 easy, 19 medium and only 9 hard problems. Ranked battles at high ratings draw from the hard pool, so strong players see repeats quickly.
What we need
New hard problems, ideally in topics the set barely covers today: union find, trie, topological sort, sweep line, bit manipulation and two pointers each appear once or twice.
How to add one
- Read
backend/arena/docs/problems.md. - Create
backend/arena/problems/<id>.jsonplus two independently written reference solutions,backend/arena/solutions/<id>.jsand<id>.py. - Keep the gaming theme the rest of the set uses (lobbies, ratings, loot, replays).
- Use only the types listed in #3 so every language driver can run it.
Definition of done
cd backend && npm run validate:problemspasses: both references pass every example and test.- Tests include edge cases and at least one large input that a brute-force solution would time out on.
- Problems are your own work, not copied from another site.
One problem per pull request is perfect.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sennaicodes/codearena
-
Add issue and pull request templatesCó thể làm lại được @franciscorodr26 đã nhận 19 ngày trước và không có pull request nào đang mở. Đang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
sennaicodes/codearena#13 · 1 bình luận ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
sennaicodes/codearena#31 ·
Tất cả issue của sennaicodes/codearena
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Fei2411/DeepSeek-Bot#634 ·
-
beginner-friendly category:sarif community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
Berserk-hub150/skillhawk#244 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
-
enhancement javascript python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
jlab-sensing/ENTS-backend#851 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Pin GitHub Actions to Ubuntu 26.04Có thể đã có người làm @krusty93 đã nhận hôm nay. Đang mởchore infra:workflow-automation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
guilhermerodz/input-otp#157 · 1 bình luận ·