GitHubGet verd

Codeforces, one key at a time.

verd is a terminal app for Codeforces and CSES. Read the problem, solve it in Neovim, test and stress it locally, submit, and watch the verdict land. No browser tab in the loop.

$curl -fsSL https://raw.githubusercontent.com/moneytosms/verd/main/install.sh | sh

Then verd init and verd. Free and open source, for Linux, macOS and WSL.

Five-minute quick start Watch the 88-second film

Press t to run the samples

Problem to Accepted in six keys

Everything a contest loop needs is one press away, and each screen on the right is verd's real output on a real problem.

  1. /Find a problem

    Codeforces and the CSES Problem Set in one list, drawn from a local cache so it opens instantly and keeps working offline. Search by name, filter by rating, tags and status, or let the picker choose from your weak topics.

    / searchf filters4 picker

  2. ↵Read it

    The statement, its limits and every sample sit side by side in the terminal. Reading width, spacing and palette are yours to set, and y copies the whole problem.

    enter openy copy statementv show tags

  3. eSolve it

    Your editor opens beside verd on a file made from your template: in a tmux or herdr split, or inside verd's own window. Neovim by default; Vim, Helix, Emacs or VS Code if you prefer.

    e editi insert a snippet

  4. tTest it

    Every sample and custom test gets a verdict with time and memory, decided on your machine. Turn on autotest and saving the file is enough.

    t rund diff a failurea add a test

  5. SBreak it

    Stress testing runs your solution against a brute force on generated inputs until they disagree, shows the diff, and saves the counterexample as your next test.

    S stressw save the counterexample

  6. sSubmit it

    verd copies the solution, opens the submit page and follows the verdict into the pane. No password is asked for; submitting without the browser is opt-in.

    s submitH editorial, hint by hint

The whole loop in 88 seconds

Sound on. Every terminal frame in the film is verd's own output, driven by real key presses.

Know the verdict before the judge does

AC, WA, TLE, RE, MLE and CE are decided on your machine, with time and memory per test, before you spend a real submission. A failure says why in plain words and points at the source line when it can.

custom-2  WA
want NO, got YES

Fix the w = 2 case, then press t.

And everything around the loop

The parts you reach for between problems, built in instead of bolted on.

Command palettePress ctrl+k, type a few letters, and run any action or flip any setting.
Stress testingGenerator and brute-force templates for each language, run in parallel.
Editorials, hint by hintOpens locked. Enter reveals the next hint, strictly in order.
Your history, put to workRating chart, per-topic strengths, and a picker that knows your weak topics.
Contest sessionsReplay a past round on a timer, practice one, or join a live one.
Snippet library35 algorithms for C++, C and Python, plus your own.
Failures, explainedThe first difference, your debug output, and the exact line that overflowed.

terminal, applied live

Eight themes ship, or write your own palette in config.toml. Every key can be rebound too, with vim, emacs and arrow presets. Drag the slider.

  1. terminal
  2. catppuccin
  3. dracula
  4. gruvbox
  5. nord
  6. one-dark
  7. solarized
  8. tokyo-night

Fits the setup you already have

Nothing to migrate. verd sits next to your editor, your shell and your dotfiles.

JudgesCodeforces and the CSES Problem Set
LanguagesC++, C and Python, or any compiler you configure
EditorsNeovim, Vim, Helix, Emacs, Kakoune, nano, micro, VS Code, Zed, Sublime
Splitstmux, herdr, or embedded in verd's own window
SubmittingBrowser handoff by default, direct submit if you opt in
PlatformsLinux and macOS on amd64 and arm64, Windows through WSL

Every key is also a command

Run the loop from a shell, a Makefile or a Neovim keymap. Exit codes tell scripts what happened. Full command reference

verd test main.cpprun sample and custom testst
verd stress main.cppsearch for a counterexampleS
verd submit main.cppsubmit and track the verdicts
verd editorial 4/Aread the editorial, hints firstH
verd snippet dijkstraprint or copy a library snippeti
verd config set theme nordchange one setting, comments kept
verd doctorcheck config, compilers and editor
verd updateinstall the latest release

Questions people ask first

Do I have to use Neovim?

No. Neovim is the default and has the tightest integration, but the editor setting takes Vim, Helix, Emacs, Kakoune, nano, micro, VS Code, Zed, Sublime or any command. You can switch it live in Settings.

Does verd need my Codeforces password?

No. By default it copies your solution, opens the submit page in your own browser, and follows the verdict from there. Direct submit is opt-in and experimental, and reuses a browser session you save with verd login.

Does it work offline?

Yes for everything you have already opened. Problems render from a local cache and the network only refreshes it in the background. Testing and stress testing never leave your machine.

Which languages can I solve in?

C++, C and Python work out of the box. Any other language is a small [lang.name] block in config.toml with its compile and run commands.

How do I stay up to date?

verd tells you inside the app when a release is out and asks whether to update. From a shell, verd update does the same and prints what changed.

What does it cost?

Nothing. verd is open source under the MIT license. It is not affiliated with Codeforces or CSES.

Get Accepted.

One binary in ~/.local/bin, checksum verified. You also need a compiler for your languages, and nvim if you keep the default editor.

Install verd

Then set it up and start

verd init
verd
More install options