Problem Format
For advanced problem creation, you can manually create a .zip file with the proper structure.
ZIP File Structure
problem.zip
├── statements/
│ ├── es.markdown # Spanish statement
│ ├── en.markdown # English statement
│ └── pt.markdown # Portuguese statement
├── cases/
│ ├── 01.in
│ ├── 01.out
│ ├── 02.in
│ ├── 02.out
│ └── ...
├── validator.cpp # Optional: Custom validator
├── limits.json # Optional: Custom limits
└── testplan # Optional: Test case weights
Statement Format
Statements are written in Markdown:
# Problem Title
## Description
Problem description here...
## Input
Input format description...
## Output
Output format description...
## Examples
### Example 1
**Input:**
**Output:**
Test Cases
Test cases are pairs of .in and .out files:
01.in,01.out02.in,02.out03.in,03.out- ...
Validator
If using a custom validator, include the source code (e.g., validator.cpp).
Related Documentation
- Creating Problems - Problem creation guide
- Manual ZIP Guide - Detailed format specification