{% extends "layout/wiki_base.html" %} {% block wiki_content %} {% set name = handler.domain.ui.name|default(model.system.get('server.name')) %}
A domain is an isolated space, typically one per institution. It holds its own problems, assignments, contests, trainings, discussions, members, and roles.
Whether a domain is public or private is controlled by its roles and their permissions.
The default domain is system. Visiting {{ name }} without a domain path opens it, and the logo always links back to it.
Data in one domain is not visible from another unless an administrator explicitly shares it.
{{ name }} judges submissions in an isolated sandbox. The compiler versions and compile options for each language are listed on the status page.
Time usage is measured as the CPU time of your process. The limit is the one set for each test case of the problem.
Memory usage is measured as the peak memory of your process. The default limit is 256 MiB unless the problem states otherwise.
Unless the problem states otherwise, read from standard input and write to standard output.
A record marked as cancelled was manually voided by an administrator, for example because it broke academic-integrity rules.
Common causes:
- 1. The wrong language was selected when submitting.
- 2. In Java, the public class is not named
Main.- 3. C/C++ specific issues (see below).
- 4. Ordinary syntax or type errors.
Notes for C/C++:
- 1. Use
long longinstead of__int64with GNU C++.- 2.
main()must returnint, notvoid.- 3. A loop variable declared as
for (int i = 0; ...)is not visible after the loop.- 4.
itoais not a standard C/C++ function.- 5. Use
%f, not%lf, to print adoublewithprintfin strict C89.
Trainings are curated learning paths of problems. Open "Training" in the navigation bar to start one.
Submission and ranking rules depend on the contest format.
In IOI, ICPC, {{ _('Ledo') }} and IOI (Strict) formats you may submit a problem many times and see results immediately.
In IOI, ICPC and {{ _('Ledo') }} formats the scoreboard is visible during the contest.
In OI format only your last submission for each problem counts, so avoid compile errors.
OI ranking: higher total score ranks first; equal totals share the same rank.
In ICPC format each rejected submission adds a 20-minute penalty to that problem.
ICPC ranking: more solved problems ranks first; ties are broken by lower total time including penalties.
In {{ _('Ledo') }} format repeated submissions reduce your score; the scoreboard shows your best score.
In {{ _('Ledo') }} format the score for a problem is $s \times \max(0.95^{n}, 0.7)$, where $s$ is the submission's score and $n$ the number of earlier attempts.
{{ _('Ledo') }} ranking: by the adjusted total score, highest first.
In {{ _('IOI(Strict)') }} format a problem's score is the sum, over subtasks, of your best score for each subtask across all submissions.
Time and memory limits are given in each problem; see {{ _('Limitations') }} for defaults.
The accepted ratio is the share of submissions to a problem that were accepted. It is only a rough guide to difficulty.
Rating points (RP) are earned by solving problems and taking part in contests and other activities.
Problem difficulty in {{ name }} is calculated from the number of submissions, the acceptance rate, and the time and result of each submission.
Keep in mind:
Test data is uploaded as files on the problem's Files page, with an optional config.yaml describing subtasks, scores, limits, and checkers. See the Faculty Manual for the full format.
If you cannot log in, first check that you are using the right username. It may differ from the one you intended if that name was already taken.
If you have forgotten your username or password, or think your account is compromised, {{ _('Reset Password or Find Username') }} right away.
Text areas in {{ name }} use CommonMark with these extensions:
@[](/user/uid).==text==..@[video](https://.../a.mp4).@[youtube](VIDEO_ID).@[pdf](https://.../a.pdf).file://filename (recommended).