cp-problem-preparer
Competitive Programming Problem Preparer: idea + intended solution → Polygon package (OI/ICPC, subtasks, tests, small solution zoo), plus an optional upload of a reviewed package to Codeforces Polygon via the external cf-polygon-mcp server. Optional HTML editorial when asked. No contest MCP.
Plugin cp-problem-preparer from marketplace cp-problem-preparer in nudetiger/competitive-programming-problem-preparer. Commands read from the repo's manifest — 1 month ago.
What it installs
Skills (9)
creating-problemsPrepare a competitive programming problem end to end — idea and intended solution to a Polygon-ready package: OI vs ICPC, subtask scoring, model solution, brute, stress, testlib validator and generators, samples, small WA/TLE zoo. Triggers on create a problem, prepare a problem, code and generate te
preparing-testsWrite the generator, validator, or checker for a competitive programming problem with testlib, generate test data grouped into subtasks, or choose sample tests. Triggers on testlib, generator, validator, checker, registerGen, registerValidation, wcmp/ncmp/rcmp6, test data, subtask groups. Builds the
reviewing-problemsAudit a competitive programming problem package before it ships — review this problem, is the statement ambiguous, check my statement, package audit. Audits a finished directory on disk, not a git diff. Use validating-solutions to attack a suite with WA/TLE solutions.
shaping-problemsShape a competitive programming problem idea into numbers: originality, intended difficulty, N that separates the intended solution from the naive one, OI vs ICPC scoring, and a subtask ladder with point weights. Triggers on problem idea, pick N, subtask ladder, scoring, partial scoring, is this pro
solving-problemsImplement C++ for a competitive programming problem being prepared — model solution, brute-force oracle, optional second correct algorithm — or for a pasted statement with constraints. Triggers on implement the intended solution, write a brute, code the model, C++ for this problem. For the full prep
uploading-to-polygonUpload a finished package to Codeforces Polygon through the cf-polygon-mcp server — create the problem (or report that the id already exists), write the statement in the problem's language (Scoring section for OI), push validator, generators, checker and solutions tagged with their intended verdict,
validating-solutionsStress a model solution against a brute, write a small zoo of plausible WA/TLE solutions, and judge whether a test suite is strong enough. Triggers on brute-force oracle, greedy that fails, stress test, cross-check, are my tests strong enough, expected verdict. Does not build generators — that is pr
writing-editorialsWrite a standalone HTML editorial for a competitive programming problem. The tutorial is a derivation, not a summary: a continuous reasoning flow with strong logical flow and natural Vietnamese prose with minimal AI writing signals; Observation boxes are reserved for pivotal claims — including the t
writing-statementsAuthor, translate, or review a competitive-programming problem statement for the vnolymp LaTeX template. Triggers on write a statement, translate into Vietnamese, vnolymp, olymp.sty, \exmpfile, subtasks table, đề bài, statement tiếng Việt. Owns prose; numbers are shaping-problems; sample files are p
Maintain cp-problem-preparer?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.