Skip to content

Competitive Programming

Competitive Programming

Thagore already has useful building blocks for contest code: fast numeric helpers in std.math, buffered input in std.io, and explicit low-level control flow. The current limitation is collections: the repository does not yet ship vec, sort, heap, or iter modules, so some classic contest patterns still require manual setup or are not yet ergonomic.

What works well today

AreaCurrent support
integer mathstrong
recursionstrong
manual loopsstrong
buffered token inputavailable through std.io
arrays from runtimeavailable through Array[T] values

Current gaps

Missing pieceEffect
vector moduleno standard growable container
heap moduleno standard priority queue
sort moduleno shipped sort helpers
map/set collectionsno shipped associative containers

Pages in this section