Skip to content

Commit

Permalink
vjudge: not 100% avaliable
Browse files Browse the repository at this point in the history
  • Loading branch information
pandadtdyy authored Apr 22, 2024
1 parent c28846d commit d616984
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions plugins/vjudge.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Vjudge
# VJudge

:::warning
此文档已过时,仅作留存使用,请前往 FAQS 查看使用指南。
此文档已过时,仅作留存使用,以下教程仅为实力,请前往 FAQS(常用教程) 查看使用指南。

远程站点对提交数量和访问次数有相关限制,Hydro 不保证 VJudge 的 100% 可用性。
:::

## Codeforces

由于 vjudge 更新了反爬虫机制,Codeforces RemoteJudge 需要一些特殊手段才能正常工作。
详情请 [阅读源码](https://github.com/hydro-dev/Hydro/blob/master/packages/vjudge/src/providers/codeforces.ts)

安装插件后创建名为 codeforces 的域,进入数据库 `db.domain.updateOne({_id:'codeforces'},{$set:{mount:'codeforces'}});`

在 codeforces 的域设置中,将 `allowedLangs` 如下配置(在新版即在允许提交的语言中选中所有 `codeforces` 开头的语言):
Expand Down

0 comments on commit d616984

Please sign in to comment.