Input Validation
Open
help wanted
invalid
- Dominant language
- C++
- Stars
- 1
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Currently, negative or zero values for n are accepted but don’t make sense.
Contributor guide
No contributing guide indexed for this repository
Research direction
Look for the function that accepts the input parameter 'n' and add validation to reject negative or zero values. Check if there are existing tests for input handling; run them to ensure the validation works. The fix is likely in one file where the input is processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100