This repository is a competitive programming archive. It contains solutions and notes grouped by platform or contest, including Advent of Code, Codeforces, CSES, ICPC, and LeetCode.
- Keep solutions in the directory that matches their platform or contest, and follow the naming and language conventions already used there.
- Prefer focused changes. Do not reformat or rewrite unrelated archived solutions.
- Preserve problem-specific input/output behavior and any useful notes or comments in existing solutions.
- Before adding a new solution, inspect nearby files for the expected structure and compiler conventions.
- Use two-space indentation for solution files.
- The root
Makefiledefinesmake clean. - Review before running
make clean: usemake clean-previewto inspect build/test artifacts matching*.bin*,*.out,*.in,*.o,*.obj, and*.exe. Inputs may be intentional problem samples. Cleanup skips all hidden files and directories, preserves source/header files and notes/assets, and leaves extensionless files alone. - There is no repository-wide test command. Run a solution's relevant compile or sample checks only when requested or needed for the change.