Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vjudge: add yacs #692

Merged
merged 17 commits into from
Dec 1, 2023
Merged

vjudge: add yacs #692

merged 17 commits into from
Dec 1, 2023

Conversation

Molmin
Copy link
Contributor

@Molmin Molmin commented Nov 30, 2023

顺手修了 JudgeHandler next 函数的一些小问题,并为 vjudge 包适配新 api

packages/vjudge/src/providers/yacs.ts Outdated Show resolved Hide resolved
if (problem.level) tag.push(problem.level);
if (problem.contest) tag.push(problem.contest.name);
let content = '';
if (problem.background.trim()) content += `## 题目背景\n\n${problem.background.trim()}\n\n`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i18n preferred

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i18n preferred

这个网站全部是中文题目,感觉没必要用 i18n 吧?

另外怎么在后端用 i18n()

packages/vjudge/src/providers/yacs.ts Outdated Show resolved Hide resolved
@undefined-moe undefined-moe merged commit b7dc35d into hydro-dev:master Dec 1, 2023
@Molmin Molmin deleted the yacs branch December 1, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants