Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
acm-resolver
Advanced tools
本项目 fork 自 hiho-resolver,用于 ACM 系列竞赛的滚榜。 相比原项目,主要优化了动画效率,更改了界面配色,并丰富了文档。
pnpm install
pnpm run start
不停按方向键右即可。
如果切换了数据源,需要清空浏览器缓存再刷新。
{
"contest_name": "your contest name",
"problem_count": 13,
"frozen_seconds": 3600,
"solutions": {},
"users": {}
}
solution 的格式,key 可以任意,problem 下标从 1 开始:
{
"381503": {
"user_id": "1",
"problem_index": "1",
"verdict": "AC",
"submitted_seconds": 22
},
"381504": {
"user_id": "2",
"problem_index": "1",
"verdict": "WA",
"submitted_seconds": 23
}
}
user 的格式,其中 key 即为 user 的 id,要和 solution 中对上:
{
"1": {
"name": "花落人亡两不知",
"college": "HZNU",
"is_exclude": true
},
"2": {
"name": "大斌丶凸(♯`∧´)凸",
"college": "HDU",
"is_exclude": false
},
"3": {
"name": "天才少女队",
"college": "PKU",
"is_exclude": true
}
}
可以使用 Dup4/domjudge-utility 将 DOMjudge 中的数据导出成 acm-resolver 所需要的数据格式。
dump 的配置参考:
base_url: "https://localhost/domjudge/"
userpwd: "username:password"
cid: 1
saved_dir: "./output/1"
exported_data:
resolver_data: true
然后将 output/1 目录下的 resolver.json 中的内容,粘贴到下图中的输入框中,然后点击「加载数据」,记得先点一下「清空缓存」。
如果不想自己搭建 http 服务器来跑 acm-resolver,可以直接使用 https://acm-resolver.xcpcio.com/。
FAQs
acm resolver
We found that acm-resolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.