wangdapeng325/dsh-oi-senior ↗★ 0

dsh-oi-senior

信奥陪刷、代码评测与题解复盘归档 适合信奥备考学生,本地真编译评测需依赖本地g++环境。

包名
dsh-oi-senior
兼容性
待验证
版本
1.0.8
最近更新
2026年10月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangdapeng325/dsh-oi-senior

配置

在 cordis.patch.yml(或 bundle 配置层)的 config 中调整:

config:
  judge:
    compiler: g++            # 编译器命令
    std: '-std=c++14'        # 语言标准(技能规定 C++14)
    optimization: '-O2'
    timeLimitMs: 2000        # 单点时限(毫秒)
    compileTimeoutMs: 30000
    workDir: ''              # 空 = 系统临时目录(评测后自动清理)
  ima:
    enabled: true            # 关掉则 oi_archive 静默跳过
    cliPath: ''              # ima_api.cjs 路径;空 = 自动定位
    clientId: ''             # 空 = 用环境变量 / ~/.config/ima/
    apiKey: ''
    timeoutMs: 20000