Information about the contest

CAMA (Amateur Competition in Mathematics and Algorithms) is a competition created with the aim of promoting academic Olympiads in Spain. Founded and maintained by high school students from different regions of Spain, it aims to attract students interested in computer science and mathematics to experience what these discipline Olympiads are like. Training is also provided to help them learn and enhance their knowledge. However, the contest is open to anyone who wishes to participate, whether Spanish or foreign, and whether they are in high school or not. However, there will be prizes reserved for Spanish high school students.

There are three categories: mathematics, programming, and mixed. The competition will take place over two days. The mathematics round will be on October 21st (at 15:00 CEST and will last for 4 hours), while the programming round will be on October 28th (at 19:00 CEST and will last for 3 hours). The classification for the mixed category will be obtained by adding the classifications from the other two categories and ordering the participants from the lowest to the highest sum. In case of a tie, the one who achieved a better classification in the programming category will rank first.

The mathematics round will follow a format similar to the IMO (International Mathematical Olympiad), while the computer science round will adapt to the ICPC (International Collegiate Programming Contest) format. The contest will consist of two divisions, advanced and basic. The basic division is intended for those participants who are beginners in the respective discipline and have limited knowledge, while the advanced division is geared toward those with experience in Olympiads. The number of problems and the scoring system will be the same (or very similar) in both divisions.

Information about the problems

For the computer science round, each division will have approximately 10 problems. In the mathematics round, the advanced division will have 3 IMO-style problems, while the basic division will have 3 easier problems and a multiple-choice test format, similar to the Mathematical Kangaroo format.


Internet can be used during the contest, but communication with other participants while the contest is in progress is prohibited. The contest is an individual competition. We will review the solutions of the winners, and if we suspect anyone has cheated, they will be disqualified. Additionally, we request that participants refrain from using artificial intelligence to solve problems in the basic division, as some of them are designed to be solvable by anyone.


For the mathematics round, each IMO-style problem is worth 7 points, and partial scores can be received based on the progress made. This means that if a participant does not reach the solution but gets closer, they can receive 5 or 6 points, for example. Additionally, for the basic division, each correct answer in the multiple-choice test format will add 1 point to the total score, while any incorrect answer will deduct 0.25 points. No points will be deducted for unanswered questions.

For the computer science round, each problem adds 1 point to the participant's score when solved. A problem will only count as correct if the participant's solution correctly solves all private test cases for the problem. Participants are ranked by score. In the event of a tie in points, the time spent on solving problems will be used as a tiebreaker, so participants with less time spent will appear higher in the ranking for equal scores. The calculation of time spent is done as follows: