来源: https://www.problemarchive.org/wiki/index.php/Problem_Format

另见裁判手册-附录6-题目打包格式

Problem Format

This is a draft. Sections highlighted in yellow have not been implemented in the reference implementation of the problem format tool chain. This might imply that that part of the specification is more in flux. Sections highlighted in red are deprecated.

Contents

  • 1 Overview
    • 1.1 General Requirements
    • 1.2 Programs
    • 1.3 Problem types
  • 2 Problem Metadata
    • 2.1 license
    • 2.2 limits
    • 2.3 grading scoring
    • 2.4 libraries
    • 2.5 languages
  • 3 Problem Statements
  • 4 Attachments
  • 5 Test data
    • 5.1 Annotations
    • 5.2 Test Data Groups
  • 6 Included Code
  • 7 Example Submissions
  • 8 Input Validators
    • 8.1 Invocation
    • 8.2 Output
    • 8.3 Exit codes
      • 8.3.1 Dependencies
  • 9 Output Validators
    • 9.1 Default Output Validator Specification
  • 10 Graders
    • 10.1 Invocation
    • 10.2 Input
    • 10.3 Output
    • 10.4 Default Grader Specification
  • 11 Generators
    • 11.1 Invocation
  • 12 See also