File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
atcoder-problems-backend/sql-client Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl RatedPointSumClient for PgPool {
30
30
WHERE
31
31
contests.start_epoch_second >= $1
32
32
AND contests.rate_change != $2
33
- AND contest_problem_count.problem_count >= 2
33
+ AND contest_problem_count.problem_count >= 3
34
34
",
35
35
)
36
36
.bind(FIRST_AGC_EPOCH_SECOND)
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ async fn setup_contests(pool: &PgPool) {
45
45
id: SAME_CONTEST_RATED.to_string(),
46
46
start_epoch_second: FIRST_AGC_EPOCH_SECOND,
47
47
duration_second: 1000,
48
- title: "Unrated New Contest".to_string(),
48
+ title: "Rated New Contest".to_string(),
49
49
rate_change: "All".to_string(),
50
50
},
51
51
Contest {
@@ -129,6 +129,16 @@ async fn setup_contest_problems(pool: &PgPool) {
129
129
problem_index: "1".to_string(),
130
130
contest_id: HEURISTIC_CONTEST.to_string(),
131
131
},
132
+ ContestProblem {
133
+ problem_id: "problem7".to_string(),
134
+ problem_index: "7".to_string(),
135
+ contest_id: RATED_CONTEST.to_string(),
136
+ },
137
+ ContestProblem {
138
+ problem_id: "problem8".to_string(),
139
+ problem_index: "8".to_string(),
140
+ contest_id: SAME_CONTEST_RATED.to_string(),
141
+ },
132
142
];
133
143
134
144
for problem in problems {
You can’t perform that action at this time.
0 commit comments