• The Africa and Arab Collegiate Programming Championship

  • البـــطــولــة الإفـــريـــقــيـــة والعـــربيــة للبــرمجــة لــشبــاب الجــامعــات

Contact Us

    • Arab Academy for Science, Technology & Maritime Transport, Abu Kir, Alexandria Address
    • manager@acpc.global Mail to us

    Rules

    ACPC Rules and Regulations

    Rules and Regulations

    Since 2003, ACPC collects and prints information that describes the contest, its rules, and the PC^2 Judging System in a booklet that got to be known as the rule book. Here you’ll find a web-based version of the current RuleBook. Normally, a printed copy is provided to all contestants at the registration desk. You can also get the complete book in pdf, by clicking the “print” link.Contestants, especially those participating for the first time, are strongly advised to read the RuleBook carefully to get familiar with the contest (especially the PC^2 Judging System) before arriving to the contest. Returning contestants are also advised to review the RuleBook for any changes since they last participated.
    2003 Since ACPC
    Our Rules

    Rules and Regulations

    The following rules apply throughout the event:

    • – Smoking is prohibited during all activities.
    • – Contestants must attend all activities.
    • – All participants must wear their badge for all activities.
    • – Contestants (and reserve) must wear the official contest T-shirt during the contest.
      (You’re free to wear the T-shirt for any other activity.)

    In addition to the General Rules listed above, the following rules apply during the contest:

    – Bring only printed materials; no electronics are allowed.

    – Mobile phones are strictly prohibited.

    – Bring all necessary printed material during the practice session.

    – Bags brought into the hall will be checked.

    – No communication with coaches during the contest.

    – Talking is limited to team members and designated personnel.

    – Disqualification may result from actions jeopardizing the contest.

    – Follow instructions regarding workstation setup.

    – Do not attempt to change your PC2 password to avoid disqualification.

    Our Rules

    Eligibility

    In an ICPC contest, contestants compete in teams. Each team consists of three contestants who are eligible to compete in the ICPC World Finals. Each team contestant must satisfy both the “Basic Requirements” and “Period of Eligibility” rules as explained below. Note that under certain circumstances, the “Period of Eligibility” may be extended; See below.

    – A student must be willing and able to compete in the World Finals.

    – A student must be enrolled in a degree program at the sponsoring institution with at least a half-time load. This rule is not to be construed as disqualifying co-op students, exchange students, or students serving internships.

    – A student may compete for only one institution during a contest year.

    – A student who has competed in two World Finals is not eligible to compete.

    – A student who has competed in five Regional Contests is not eligible to compete.

    – Each team designates a team coach (preferably not a contestant, preferably a faculty member) who will be
    the team representative and point of contact.

    – A student who meets the Basic Requirements and first began post-secondary studies in 2011 or later is eligible to compete.

    – A student who meets the Basic Requirements and was born in 1992 or later is eligible to compete.

    – Coaches may petition to extend the Period of Eligibility under the following circumstances:

    – A coach may petition the ICPC Eligibility Committee to extend the Period of Eligibility for a student whose full-time studies have been interrupted or extended. This includes military or civilian service, illness, work/studies, or personal reasons.

    – The coach must demonstrate that such an extension would not provide an unfair advantage to the team.

    – A petition will be approved routinely if the student meets the Basic Requirements and has not completed more than the equivalent of eight semesters of full-time study as of the date of the regional contest.

    – To make such a request, please check the ICPC website.

    Our Rules

    Rules for Appeals

    The ICPC International Steering Committee who’s responsible for establishing contest rules, policy and guidelines, have set the following rules when it comes to complaints, appeals, and their remedies. The official page for Appeals can be found by following this link. If irregularities or misconduct are observed during the contest, team members or coaches should bring them to the attention of the contest officials so that action may be taken as soon as possible. After the conclusion of the contest and the results have been made public, coaches may file complaints or appeals by email to the Regional Contest Director and copied to the Contest Manager manager@icpc.global within two business days.

    – The results of the regional contest are not final until the complaints and appeals process has run its course.

    – Only coaches may file complaints and appeals.

    – An appeal must be based on one or more of the following circumstances: violations of the Rules, misconduct by teams, or gross misconduct by contest officials with the intent to do harm.

    – The decisions of the judges are final. Specifically, a decision on a problem submission MAY NOT be appealed.

    – The Appeals Committee overturns decisions only under extraordinary circumstances.

    – The decision of the Appeals Committee is final.

    – No additional finals invitations will be given to remedy a complaint.

    – All complaints will be acknowledged.

    – An appeal will be automatically rejected if the above procedure is not followed.

    Our Rules

    Contest Format

    • - The contest will last exactly five hours (unless there is an unforeseen difficulty that requires extending the time.)
    • - The contest problem-set is made of eight to twelve problems. Each team attempts to solve as many problems as possible using a single computer.
    • - The programming languages for ACPC are: C, C++, JAVA, or Python. Contestants are free to choose the programming language(s) they want to use.
    • - A contestant may submit a claim of ambiguity or error in a problem statement by submitting a clarification request. If the judges agree that an ambiguity or error exists, a clarification will be issued to all contestants. Notification of accepted runs may be suspended at an appropriate time to keep the final results secret. Notification of rejected runs will continue until the end of the contest.
    • - Solutions are judged by running them against some secret test cases. The contest judges are solely responsible for determining the correctness of the submitted solutions, and their decision is final.
    • - Rejected runs are further classified into:
      • - Syntax error: The program failed to compile.
      • - Run-time error: The program crashed during run.
      • - Time limit exceeded: The program failed to terminate within the allowable time period.
      • - Wrong answer: The program terminated successfully, but the output wasn’t correct.
      • - Presentation Error: The program terminated successfully, but the output wasn’t formatted as expected.

        Note: Getting this error doesn’t mean that the output is correct; it is possible for the output to be wrong too. Judges will return the first of the two errors they notice.

    • - If a run is rejected, the team is free to try again and send as many runs as they wish until the problem is solved (but make sure you understand the scoring rules).
    Our Rules

    Problems Format

    • - Every effort is made to guarantee that problems avoid dependence on detailed knowledge of a particular application area or particular programming language.
    • - Each problem will require reading input from a specific text file, and printing its output to the standard console.
      Hint to coaches: Make sure at least one team member can read data from text files.
    • - Since judging is a semi-automatic process, it is mandatory for the program output to match the output format specified in the problem description.
    • - The judges’ secret input file will test the program on multiple cases (or datasets.) The format of the input file will be designed so that multiple datasets can be included in a single text file.
    • - Each problem in an ACPC contest is specified in the following four sections:
      • Description: This section specifies the problem contestants are supposed to solve.
      • Input format: Here you’ll find detailed description on how the input file will be formatted.
      • Output format: This section specifies the format of the output of your program. Your program’s output must conform to the format specified.
      • Sample Input/Output: Here you’ll find a sample Input/Output that has successfully passed the judges’ program.

        Note: Your program will be tested on a different (and more complex) dataset. Just because your program passed the sample Input/Output, doesn’t mean it is correct.

    • - In addition, the problem statement will specify the name you should use for your program, and the name of the input file.

      Since compilation and testing is an automated process, it is important that you follow the naming convention exactly.
      For example, if the problem statement states that the files should be named easy then the program file must be named named easy.c for a C program, easy.cpp for a C++ program, or easy.java for a JAVA program. The input file will be named easy.in

    Our Rules

    Programming your Solutions

    • - Programs must be in a single source file with the name specified in the problem description; failure to meet this requirement is a “Syntax or Compilation Error". A note to Java programmers: You can still have more than one top-level classes in a single source file as long as only the main one is declared public while the rest are unqualified (i.e. just ‘class’, without ‘public’).
    • - Output will be judged using a file comparison utility. Output must be exactly as specified in the output format section: Spelling, punctuation, spacing, and case (uppercase/lowercase) are all significant (unless specified otherwise in the problem statement.)
    • - Your program cannot require any intervention from the user. All input must be read from the input file. If you submit a program that requires user intervention, you’ll most probably receive a “Time-Limit Exceeded” error. Contestants who have the habit of placing a “press any key to continue” statement at the end of their program should pay attention to this point.
    • - Do not use drive and/or path specifications when naming input files. The input file will be in the same directory as your program.
    • - All test cases used in judging will conform to the input specifications. There is no point for your program to try to detect invalid input or missing input file.
    • - Make sure your program will compile and run using the Judges environment. Use the PC^2 test button.
    Our Rules

    Teams Ranking

    Contest Scoring

    Here you’ll find a description on how teams are ranked during an ICPC contest, including the ACPC regionals:
    1. – Teams are ranked in a descending order according to the number of problems they solve.
    2. – Teams who solve the same number of problems are ranked ascendingly by total time (the score).
    3. – The total time (aka score) is the sum of the time consumed for each problem solved.
    4. – The time consumed for a solved problem is the time elapsed from the beginning of the contest to the submittal of the accepted run; plus 20 penalty minutes for every rejected run (for that same problem.)
    5. – There is no time consumed for a problem that is not solved (even if there are rejected runs for it.)

    Teams solving the same number of problems with the same total time are ranked by the geometric mean of the individual times for each solved problem (smaller being better) without the penalties. Any remaining ties are left unbroken unless they affect the regional winner, in which case they are broken by a coin flip. (Adopted from the Mid-Central USA Region)

    Judges are solely responsible for accepting or rejecting submitted runs. In consultation with the judges, the Regional Contest Director determines the winners of the regional contest. The regional contest director and judges are empowered to adjust for or adjudicate unforeseen events and conditions. Their decisions are final. (The ICPC Regional Rules)

    Our Rules

    Awards

    we will be adopting another ICPC tradition in the awards ceremony, new awards will be introduced for the first time in our region following the footsteps of the world finals the awards this year will be:

    •  – Judges Award.
    • – RCDs Award.
    • – First to Solve (for each problem)
    • – Extreme Programmers
    • – Steadfast Gurus
    • – Solid Programmers
    • – Relentless Programmers
    • – Champion of Maghreb.
    • – Champion of Gulf.
    • – Champion of Levant.
    • – Champions of the Nile.
    • – Bronze medals (9th to 12th place winners)
    • – Silver medals (5th to 8th place winners)
    • – Gold medals (1st to 4th place winners)
    Our Rules

    PC^2

    • The PC2 System (pronounced Pee-See-Squared, short for Programming Contest Control) is used during the contest as the only method of communication between teams and judges. PC2 provides facilities for both submitting runs and for requesting clarifications.
    • In addition, during a contest, PC2 generates the scoreboard that is viewed by both contestants and spectators.
      The full tutorial can be found here.