wangdapeng325/dsh-oi-senior ↗★ 0

dsh-oi-senior

信奥学长(oi-senior)DSH 插件:陪刷 + 三版 C++14 参考实现 + 解题说明,本地 g++ 真编译真评测,做题记录归档到 ima 笔记本「信奥学长-题解复盘」。 适合信奥备考学生,本地真编译评测需依赖本地g++环境。

Package
dsh-oi-senior
Compatibility
Unverified
Version
1.0.8
Last updated
Oct 21, 2026

Install

$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