Introduction to XCPC statement generator -- A Web-Based XCPC-style Contest Statement Generator

Revision en2, by chumeng, 2025-12-08 17:08:00

Introduction

XCPC Statement Generator is an open-source, browser-based application designed specifically for creating XCPC-style contest statements. Built with React, TypeScript, and powered by Typst (a modern typesetting system), this tool allows contest organizers to edit problem statements from various formats(Markdown, LaTeX and Typst) and export them as formatted PDFs that closely mirror the style of major competitive programming competitions in China (or competitions that use olymp.sty to create contest statements).

screenshot

You can try XCPC Statement Generator on My Website, or get the source code on GitHub

Features

  • Pure Browser-Based Operation: It runs entirely in your browser, simply open the web application.
  • Support Polygon Packages: The tool supports importing Polygon contest packages. Contest organizers who use the Polygon system for problem management can directly import their exported ZIP files, automatically parsing problem statements, examples, and metadata.
  • Multi-Format Support: XCPC Statement Generator supports three popular problem statement formats: Markdown, LaTeX and Typst.
  • Real-Time Preview: Thanks to Typst, as you write or edit problem statements, you can instantly see how they will appear in the final PDF, ensuring what you see is what you get.
Tags icpc, contest, polygon

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English chumeng 2026-02-19 19:22:20 2738
en4 English chumeng 2025-12-17 18:30:06 31
en3 English chumeng 2025-12-08 17:12:22 0 (published)
en2 English chumeng 2025-12-08 17:08:00 960
en1 English chumeng 2025-12-08 16:57:15 713 Initial revision (saved to drafts)