修复比赛排行榜下载csv文件中题目无序的问题
This commit is contained in:
parent
544c386759
commit
10a18d3ac5
|
@ -113,7 +113,7 @@ public class ContestFileController {
|
|||
|
||||
// 获取题目displayID列表
|
||||
QueryWrapper<ContestProblem> contestProblemQueryWrapper = new QueryWrapper<>();
|
||||
contestProblemQueryWrapper.eq("cid", contest.getId()).select("display_id");
|
||||
contestProblemQueryWrapper.eq("cid", contest.getId()).select("display_id").orderByAsc("display_id");
|
||||
List<String> contestProblemDisplayIDList = contestProblemService.list(contestProblemQueryWrapper)
|
||||
.stream().map(ContestProblem::getDisplayId).collect(Collectors.toList());
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
@Slf4j(topic = "hoj")
|
||||
public class CodeForcesJudge implements RemoteJudgeStrategy {
|
||||
public static final String IMAGE_HOST = "https://codeforces.com/";
|
||||
public static final String IMAGE_HOST = "https://codeforces.ml/";
|
||||
public static final String HOST = "https://codeforces.com/";
|
||||
public static final String LOGIN_URL = "enter";
|
||||
public static final String SUBMIT_URL = "problemset/submit";
|
||||
|
|
Loading…
Reference in New Issue