We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c9999 commit 3132dbaCopy full SHA for 3132dba
bullet/problems/logic/scanner.py
@@ -64,7 +64,7 @@ def parse_barcode(
64
)
65
66
problem_number = int(match.group("problem"))
67
- if problem_number < venue.category.first_problem:
+ if problem_number != 0 and problem_number < venue.category.first_problem:
68
raise ValueError(f"Problem {problem_number} is not valid for this category.")
69
70
if allow_endmark and problem_number == 0:
0 commit comments