mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 11:38:42 +00:00
fix(web/contest): problems order in contest
This commit is contained in:
parent
a6e18b25bd
commit
882c84c1a8
@ -212,7 +212,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$result = DB::query("select problem_id from contests_problems where contest_id = ${contest['id']} order by problem_id asc");
|
||||
$result = DB::query("select problem_id from contests_problems where contest_id = ${contest['id']} order by dfn asc");
|
||||
while ($row = DB::fetch($result, MYSQLI_ASSOC)) {
|
||||
$problem = queryProblemBrief($row['problem_id']);
|
||||
$problem_config_str = isset($contest['extra_config']["problem_{$problem['id']}"]) ? $contest['extra_config']["problem_{$problem['id']}"] : 'sample';
|
||||
|
Loading…
Reference in New Issue
Block a user