Problemsetting

Competitive programming problems

Some of my favorite ICPC problems I helped create, with English statements and tutorials.

ICPC Latin America Subregionals · 2026

  • GGenesFind the highest-priority dictionary pattern contained in each queried text interval.

ICPC Latin America Championship · 2025

  • DDisplaying DecimalsAverage the exact finite/repeating decimal display length over all currency pairs.

Maratona Mineira · 2025

  • JWay of SpeakingCount parses of a run-length-like spoken number with a prescribed decoded length.
  • MSea of HillsFind the minimum travel days under a moving altitude window.

Maratona SBC — Subregional · 2025

  • BBaralho AlhoSolve simultaneous rotation constraints induced by repeated permutation shuffles.

Maratona Mineira · 2024

  • KMarathonCut a huge piecewise-valued route into disjoint races for maximum Kudos.

Maratona SBC — First Phase · 2024

  • CCouple of BipBopCompute the expected common-prefix length of two random choreography suffixes.
  • GGeography of RiversMaintain the winning source name in a binary merge tree under rainfall updates.

Maratona Mineira · 2023

  • BContorno AvenueDraw all same-type connections on either side of a circular avenue without crossings.
  • EFrog ProblemConstruct a minimum-energy order for sinking a line of lily pads.
  • NCheating in the PastelariaCount opening moves on three obstacle boards that leave a losing impartial game.