Competition Rules

Regulations on the Organisation of the Adolescent Grigore Moisil (AGM) International Computer Science Contest
– XIIth Edition –

Last updated: 28.05.2026

I. Contest Overview

Art. 1. This regulation contains provisions on the organisation and conduct of the Adolescent Grigore Moisil (AGM) International Computer Science Contest (hereinafter known as the “Contest”).

We will publish on our website (https://agm-contest.com/) with at least 45 days’ notice:

  1. The venue where the Contest will be held;
  2. The exact date and time of the Contest.

The Contest is organised by „Asociația AGM” and our partners, hereinafter known as the “Organisers”, “we” or “us”.

Art. 2. Only students enrolled in pre-University establishments (e.g. High-School, College, etc.) can participate. The participants can be from Romania or abroad. All students must be aged 14-21 years old at the start of the Contest. Underage candidates must be accompanied by an adult to the venue.

Art. 3. Each team is made up of a maximum of three students. All teams must have a Team Leader who is elected by the team members. The Team Leader is responsible for:

  1. sharing the list of team members with the Organisers;
  2. meeting the Organisers’ deadlines. Various data may need to be shared both in editable format (e.g. Excel), as scanned copies or on paper;
  3. liaising with the Organisers.

Art. 4. There are two types of teams in the Contest:

  • Romanian Teams – all candidates are exclusively enrolled in Romania
  • International Teams – candidates may be enrolled either in Romania or abroad

All teams compete against each other in the Contest.

II. Registering to the Contest

Art. 5. Registering to the Contest is done on a “first-come first-served” basis.

Art. 6.  We will post the Registration Form on our website with at least 14 days’ notice to give contestants ample time to group into teams. We will send out an email once the Registration Form is opened for submissions.

Art. 7. Only the first 20 Romanian teams and the first 8 International Teams qualify to the Contest.

Art. 8. Teams are required to re-confirm their participation with at least 45 days’ notice prior to the Contest.

Art. 9. Teams who have secured a place in the Contest and who fail to withdraw with at least 45 days’ notice will be banned from the Contest for 2 years.

Art. 10. Teams who have secured a place in the Contest and who fail to appear at the venue will be permanently banned from the Contest.

Art. 11. In case of “force majeure”, the Team Leader is responsible for liaising with the Organisers and give notice of any changes in their team. No bans will be applied to teams or team members who can justify their absence from the Contest with appropriate documentation.

Art. 12. All teams must notify the Organisers of any team member changes, at the latest,  within 48 hours before the start of the Contest. Should a team not adhere to this rule, all team members will be banned from participating in the Contest for the next two years.

Art. 13 At their discretion, the Organisers may:

  1. Keep a short-list of team candidates in case one of the teams drops out of the Contest;
  2. Redistribute the allocations between the Romanian teams and the International teams to ensure as many teams as possible can compete in the Contest.

Art. 14. All teams who do not qualify to the Contest may be invited to participate in the online ‘mirrored’ Contest. Teams who participate in the ‘mirrored’ version of the Contest do not qualify for any prizes or awards.

III. The Contest

Art. 15. The Contest takes place over two consecutive days. Each day of the Contest lasts for five hours. Should there be any technical/scientific issues during the Contest, the Organisers may extend the round and any related deadlines by a reasonable amount of time.

Art. 16. The Contest consists of 9 to 14 tasks with specific time and memory constraints. The tasks are decided by the Organisers.

III. 1. Facilities at the Venue

Art. 17. Each team must only use one computer, one keyboard and one mouse.

Art. 18. Subject to approval from the Organisation Committee, each team may use their own keyboard and mouse and bring a file comprising no more than 25 sheets of A4 paper which may come useful in solving the tasks (e.g. algorithms, theorem, code, etc.). The content of each page must be legible from a distance of at least 50 cm.

Art. 19. All materials requiring approval must be first inspected by the Organisation Committee. This can only be done at designated places on-site on the day of the Contest but no later than two hours prior to the round’s beginning.

Art. 20. On-site printing facilities will be available for teams to print out their source code

III. 2. How we judge and rank submissions

Art. 21. A live Scoreboard will show teams’ scores and their ranking. The Scoreboard is available at https://judge.agm-contest.com

Art. 22. A team’s score is based on the number of correctly solved problems, ranked in descending order. In case of a tie, teams are further ranked by increasing order of penalties.

Art. 23. The Freeze Point is the time when the Scoreboard will no longer update. Regardless of the Freeze Point, all teams receive automated feedback for each submission. In practice, this means that teams should always know the verdict of their submissions shortly after these had been sent.

Art. 24. The Scoreboard will be frozen on the first day after three hours have elapsed. Only after the end of the Contest will the Scoreboard be unfrozen. Teams will be able to see their results and rankings on our website.

Art. 25. Each submission attracts one of two outcomes:

  • Accepted (i.e. a ‘correct’ verdict) – the problem will be marked as ‘solved correctly’ (subsequent attempts do not count)
  • Rejected (i.e. a ‘non-correct’ verdict)

Art. 26. Each correctly solved problem may attract penalties, which are the sum of:

  • 20 x [number of previous incorrect attempts before submitting a correct solution]
  • elapsed time (in minutes) since the beginning of the Contest until submitting the first correct solution

Penalties apply if the submission is rejected, except for cases where submissions:

  • are never correctly solved by a team
  • result in a compiler-error
  • result in a too-late error (whenever submissions are sent after the cut-off of the round)

Art. 27. Each round is hosted on the Contest Platform based on DomJudge. A manual of DomJudge may be found online at: https://www.domjudge.org/docs/team-manual.pdf. Not all platform features will be enabled during the Contest (e.g. submission via the terminal) but all critical features required for the Contest should work as expected. Contestants are encouraged to ask questions and raise any issues about the platform.

Art. 28. The supported programming languages are:

  • C
  • C++17
  • C++20
  • Java 8
  • Java 11
  • Pypy3
  • Python3

Please note that we can only guarantee that a solution is within the time and memory constraints for submissions in C++ when compiled with gcc/g++.

Art. 29. Candidates must only submit solutions written in English. The Organisers are to provide all supporting materials, important announcements and problem statements in English.

IV. Prizes and Awards

Art. 30. Only teams qualified to the Contest are eligible for prizes and awards.

Art. 31. The top 10 teams will receive diplomas according to their final ranking. The criteria for the awarding of Contest prizes and the types of prizes will be announced on our website no later than two weeks before the start of the Contest.

V. Code of Conduct

Art. 32. Participating in the Contest means adhering to this Code of Conduct.

Art. 33. All Contestants are expected to behave professionally. Abuse of any kind is not  tolerated. This may include, but it is not limited to:

  • using inappropriate language, verbally or in writing;
  • harassment;
  • discrimination;
  • racism;
  • misogyny.

Any contestants exhibiting abusive behaviour towards the Organisers or other contestants will be permanently banned from the Contest and their  team will be automatically disqualified.

Art. 34. Depending on the seriousness of the offence, we may be required to report abusive behaviour to the appropriate law enforcement authorities and home institutions.

Art. 35. Any attempts, successful or not, to commit fraud during the contest will result in the disqualification of the whole team. The offending team members will be permanently banned from the Contest.

Art. 36. We regularly check for collusion to ensure the integrity and fairness of the Contest. If two teams are found to be colluding, all their members are disqualified and permanently banned from the Contest.

VI. Final Remarks

Art. 37. The Organisers may change tasks, make announcements, re-evaluate submissions and enforce any decision that protects the integrity and fairness of the Contest. All communications are to be done in English.

Art. 38. There is no right of appeal in the Contest. All decisions are final.

Art. 39. The Organisers reserve the right to retroactively withdraw any awards obtained via means of fraud or deception during the Contest.

Art. 40. By participating in the Contest, you are agreeing to these Regulations, our Terms and Conditions (https://agm-contest.com/terms/) and to our Privacy Policy (https://agm-contest.com/privacy-policy).

Art. 41. Should there arise a need for these regulations to change, the Organisers will publish any amendments on the website no later than 14 days before the start of the Contest.

Art. 42. During the Contest, the Organisers, at their discretion, reserve the right to make any changes that are strictly necessary to ensure the smooth running of the Contest.