Crate ezcp

Source

Macros§

bail

Structs§

Graph
This struct represents a combinatorial undirected graph. It is used to generate the input for test cases and to check the output of solutions.
Input
Input is a helper struct for parsing input. It is used by the generators to parse the input string. It ignores different kinds of whitespace.
Subtask
This struct represents a subtask. You can add tests, test generators and set a checker function. Once you are done, you can add the subtask to a task.
Task
This struct represents an entire task. You can add subtasks, partial solutions and set the time limit. Once you are done, you can create tests for the task.

Enums§

Error

Functions§

array_generator
This function returns a function that generates an array of integers.
array_generator_custom
This function returns a function that generates an array of integers with a custom generator.
array_to_string
This function converts an array of integers to a string.

Type Aliases§

Result