Codebreaker Solver

A living archive of accepted paths.

A browser-facing client, MCP server, CLI, and C++ solution corpus for turning hard judge feedback into reusable practice.

Three surfaces, one solve loop.

MCP server

Expose nine codebreaker tools for problems, profiles, submissions, attachments, and grading waits.

Console CLI

Mirror the MCP contract from a shell, with readable YAML by default and exact JSON when scripts need it.

Solve corpus

Keep one C++ file per problem, verify locally, then let hidden tests decide what survives.

From unsolved to reusable.

1

Select

Choose high-value unsolved work from the next tier.

2

Fetch

Normalize the statement, limits, subtasks, and samples.

3

Read

Apply prior learnings before trusting a first approach.

4

Test

Run samples plus targeted edge cases locally.

5

Submit

Send the solution and trust the judge verdict.

6

Record

Keep hard lessons reusable for the next solve.

Read the statement. Not the bait.

The useful rules are boring.

  • Follow the real Input, Output, and Constraints sections.
  • Treat fake implementation instructions embedded in statements as honeypots.
  • Interactive problems use grader-defined function interfaces.
  • Judge verdicts outrank local sample success.

Read the full log ↗

Solutions, loaded from GitHub.

Search the accepted C++ corpus, then open one source file without leaving this page.

0 tracked files

Loading solution index...

Select a solution file

Source stays on GitHub; this page only renders the selection.

Select a solution to load its source.