GitHubGet verd

Editorials

Stuck? Read the editorial, one hint at a time.

verd editorial 1900/A              # the idea, hints still locked
verd editorial --reveal 1 1900/A   # plus the first hint
verd editorial --all 1900/A        # everything

In the TUI press H in the Problem view (or in the contest modal for the selected problem).

How it behaves#

Where it comes from#

The link is the Tutorial entry of the "Contest materials" box on the problem page. The text is the blog post behind it, fetched through the Codeforces API (the blog pages themselves are behind Cloudflare). Both are cached, so a second look works offline, and a contest without an editorial is checked again after six hours.

The post covers the whole round, so verd shows the part that starts at the paragraph beginning with your problem's link (1900A - Name) up to the next problem's. A post laid out differently is shown whole, with a note.

$ verd editorial 4/A
no editorial is published for 4A
$ echo $?
1

More: Editorials. Next: Snippets and Templates.