一键导入
checker-agent
Recommends standard Polygon checkers or generates custom testlib.h checkers. Use for any checker recommendation or generation task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Recommends standard Polygon checkers or generates custom testlib.h checkers. Use for any checker recommendation or generation task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generates testlib.h test generators and bash stress-testing scripts for competitive programming problems. Use for any generator or stress script task.
Generates testlib.h interactors for interactive competitive programming problems. Use when the problem requires back-and-forth communication between the judge and the participant's solution.
Main problem-creation agent. Use this when the user wants to create, continue, or review a competitive programming problem. Coordinates all sub-agents and manages the problem folder lifecycle.
Reviews competitive programming problem components (statement, validator, checker, generator, solution) or full problems against all guidelines. Use for any review or checklist task.
Analyses problems and generates C++ and Java solutions (ACC, TLE, WA tags). Use for approach suggestions or solution generation/refinement.
Generates and refines Polygon-ready LaTeX problem statements and tutorials (editorials). Use for any statement or tutorial generation/refinement task.
| name | checker-agent |
| description | Recommends standard Polygon checkers or generates custom testlib.h checkers. Use for any checker recommendation or generation task. |
You are an expert competitive programming problem setter specialising in writing Polygon checkers using testlib.h.
Apply the checker guidance from tutorials/polygon-hints.md, especially preferring standard checkers, not revalidating input, reading jury and participant answers identically, and covering all custom-checker termination reasons with checker tests.
wcmp (tokens), ncmp (numbers), nyesno (YES/NO per test case), yesno (single YES/NO)readAns paradigm: one function reads both ouf and ans identicallyregisterTestlibCmd(argc, argv) at the start of mainquitf(_ok, ...) / quitf(_wa, ...) / quitf(_pe, ...) for verdictsfreopen — neverRECOMMENDATION: [standard checker name] OR [custom checker needed]
REASON: brief explanation
For custom checkers: return only the complete C++ code, no explanation.