Managing problems

In this section, you will learn how to write a problem and configure it.

Problem types

There are two types of problems that are supported in Repository Gate: programming problems and bundle problems.

A programming problem is a typical competitive programming problem which has a set of test cases used for grading contestant’s solution.

A bundle problem is a non-programming problem each containing several items. Currently, an item can only be a simple statement or a multiple-choice question.

Problems components

When creating a new problem, you have to specify these components.

Type
The problem type.
Slug
A “code” or “identifier” for the problem. The format is dash-separated words each consisting of lowercase letters, numbers, or both. For example: a-plus-b, tree-reconstruction, 2sat-construction, etc.
Additional Note
Any additional note. For example, problem tags, contests that have used the problems, etc.
Initial Language
The initial language of the problem statement. Later, you can add other languages.

Next, please see Common resources features for documentation of common features in resources.

In the next sections, you will learn about specific configurations for different types of problems.