Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 8afab2b

Browse files
committed
update get rounds for problem api to only check Past SRM matches
1 parent f465e8a commit 8afab2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries/get_rounds_for_problem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ FROM
88
problem p
99
INNER JOIN component c ON c.problem_id = p.problem_id
1010
INNER JOIN round_component rc ON rc.component_id = c.component_id
11-
INNER JOIN round r ON r.round_id = rc.round_id
11+
INNER JOIN round r ON r.round_id = rc.round_id AND r.round_type_id IN (1,2,3,10,20) AND r.status = 'P'
1212
WHERE p.problem_id = @problem_id@
1313
ORDER BY r.round_id ASC;

0 commit comments

Comments
 (0)