Customize Options

Best Color Choices:


Biggest Tunisian Coding Event
March 25-26 , 2017

Sup'Com - Technopark Elgazala

Ariana , Tunisia


About the 5th edition of the ACM TCPC


The National Steering Committee of the ACM TCPC is glad to announce that the 5th edition of the ACM TCPC will be held the 25th and the 26th of March 2017 at Sup’Com & El Gazala Technopark. The selected host for this year is Sup’Com. We are thrilled to cooperate with our host to welcome you to the biggest problem solving and coding event in Tunisia. The ACM Tunisian Collegiate Programming Contest is a contest held annually under the auspices of ACM (Association for Computing Machinery). The contest has consistently showcased the best students from IT departments, in which students who wish to advance in this field have regularly distinguished themselves in universities. Competing in TCPC and preparing for it gives students a chance to prove their skills in problem solving and coding. During the contest, several teams, each composed of three students, compete to win the Tunisian Championship and to advance to the regional arab contest ACM ACPC. Each team is provided with one computer and given 5 hours to solve 10 to 12 fairly difficult problems. To solve a problem means to write a program that will successfully pass all tests in a predefined time slot. The team, which solves the biggest number of problems, wins. If there are several teams, which solve the same number of problems, the winner is determined by comparing time penalties.

Event Schedule

Day 108:00 - 16:00
  • 08:00 - 09:30 - Registration
  • 09:30 - 11:30 - Official Opening Ceremony

    Welcome Speech by Prof. Adel BOUHOULA, President of ACM TCPC 2017 and President of the National Steering and Executive Committees of ACM TCPC

    Speech of Prof. Mounir FRIKHA, Director of Sup’Com

    Speech of Dr. Sidi Ali MAELAININ, President of ACM ICPC World Finals 2015

    Speech of Mr. Mohamed FOUAD, Executive Director of Arab Region ACM ACPC

    Speech of H.E. Imed HAMMAMI, the Minister of Vocational Training and Employment

    Speech of H.E. Anouar MAAROUF, the Minister of Communication Technologies and Digital Economy

    Opening Speech by H.E. Youssef CHAHED, the President of the Government

  • 11:30 - Visiting the contest floor for VIP guests
  • 11:30 - 12:30 - Orientation Session for Contestants and Coaches
  • 12:30 - 14:00 - Lunch
  • 14:00 - 16:00 - Practice Session
Day 2 08:00 - 19:00
  • 08:00 - 13:00 - Contest Session
  • 10:00 - 12:00 - Meeting of the ACM TCPC Steering Committee
  • 13:00 - 15:00 - Lunch
  • 15:30 - 19:00 - Closing Ceremony

    Speech of Prof. Adel BOUHOULA, President of ACM TCPC 2017 and President of the National Steering and Executive Committees of ACM TCPC

    Speech of Prof. Mounir FRIKHA, Director of Sup’Com

    Announcement of the Contest Results by Mr. Mohamed Fouad Executive Director of Arab Region ACM ACPC.

    Awards ceremony

    Closing speech by H.E. Anouar MAAROUFstrong>, the Minister of Communication Technologies and Digital Economy


Promotional Video

President of the Steering and Executive Committees Prof. Adel Bouhoula

  • Riadh Ksontini - Steering Committee, Carthage
  • Adel Benzina -Executive Committee, Carthage
  • Myriam Fourati Cherif -Executive Committee, Carthage
  • Mohamed Abid - Steering Committee, Gabès
  • Fethi Mguis -Executive Committee, Gabès
  • Mehdi Khouja -Executive Committee, Gabès
  • Mounir Dhibi - Steering Committee, Gafsa
  • Wafa Akermi -Executive Committee, Gafsa
  • Saiid Ettaieb -Executive Committee, Gafsa
  • Mohamed Hayouni -Steering Committee, Jandouba
  • Akrem KEFI -Executive Committee, Jandouba
  • Marwen Kachroudi -Executive Committee, Jandouba
  • Mohamed Ali Ayachi -Steering Committee, Kairouan
  • Fathi Selmi -Executive Committee, Kairouan
  • Mohamed Kharrat -Executive Committee,Kairouan
  • Anja Habacha -Steering Committee, Manouba
  • Faten Ben Hmida -Executive Committee, Manouba
  • Yemna Sayeb -Executive Committee,Manouba
  • Ramzi MAHMOUDI -Steering Committee, Monastir
  • A.Wahed Berguiga -Executive Committee, Monastir
  • Walid Karamti -Executive Committee,Monastir
  • Tarek Abbes -Steering Committee, Sfax
  • Achraf Mtibaa -Executive Committee, Sfax
  • Mohamed Mhiri -Executive Committee,Sfax
  • Zeki Brahmi -Steering Committee, Sousse
  • Ahmed Maalel -Executive Committee, Sousse
  • Sonia Ayachi Ghannouchi -Executive Committee,Sousse
  • Ines Bayoudh Saâdi -Steering Committee, Tunis
  • Emna Souissi -Executive Committee, Tunis
  • Hadhemi Achour -Executive Committee,Tunis
  • Taha Benanni -Steering Committee, Tunis El Manar
  • Hanene Boussi Rahmouni -Executive Committee,Tunis El Manar
  • Moez Haj Hmida -Executive Committee,Tunis El Manar
  • Ryma Abassi -Steering Committee, ISETS
  • Noureddine Grassa -Executive Committee, ISETS
  • Dalel Ben Hadhom -Executive Committee, ISETS
  • Ryma Abassi -Steering Committee,Private Universities
  • Noureddine Grassa -Executive Committee,Private Universities
  • Dalel Ben Hadhom -Executive Committee,Private Universities

TCPC News Media Director BEN ALAYA Oussama

President of the Scientific Committee Mohamed Bécha Kaâniche

President of the Tunisian Informatics Association Dorsaf BENNA CHELLY


Generic Rules About This Event

Since 2013, TCPC 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.

General Rules

The following rules apply throughout the event:

  1. Smoking is prohibited during all activities.
  2. Contestants must attend all activities.
  3. All participants must wear their badge for all activities.
  4. 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.)

Rules Inside the Contest Hall

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

  1. Contestants may only bring printed material to the contest hall. No electronic devices or media are allowed inside the hall. Computers, calculators, CD’s, disks, music players, flash memory, etc. are all prohibited. (Contestants may use the calculator that comes part of the operating system.)
  2. Cellular phones (mobiles) are strictly prohibited inside the contest hall.
  3. All printed material needed during the contest must be brought into the contest hall during the practice session. No material will be allowed in on the contest day.
  4. All bags brought into the contest hall will be checked.
  5. Contestants are not allowed to talk to their coaches during the contest. In general, contestants are not to converse with anyone except members of their team and personnel designated by the regional contest director.
  6. A team may be disqualified by the regional contest director for any activity that jeopardizes the contest such as dislodging extension cords, unauthorized modification of contest materials, or distracting behavior.
  7. Until the contest begins, contestants are not allowed to touch anything at the team workstation until so directed by the Regional Director or Contest Hall Supervisor.
  8. You’re not allowed to change your PC2 password. Any attempt to change it, will result in your team’s disqualification.

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.

Basic Requirments

  1. A student must be willing and able to compete in the World Finals.
  2. 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.
  3. A student may compete for only one institution during a contest year.
  4. A student who has competed in two World Finals is not eligible to compete.
  5. A student who has competed in five Regional Contests is not eligible to compete.
  6. Each team designates a team coach (preferably not a contestant, preferably a faculty member) who will be
    the team representative and point of contact.

Period of Eligibility

  1. A student who meets the Basic Requirements and first began post-secondary studies in 2012 or later is eligible to compete.
  2. Or; A student who meets the Basic Requirements and was born in 1992 or later is eligible to compete.
  3. 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.

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 ACM Contest Manager manager@icpc.baylor.edu within two business days.

The process of resolving the appeal is governed as follows:

  1. The results of the regional contest are not final until the complaints and appeals process has run its course.
  2. Only coaches may file complaints and appeals.
  3. 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.
  4. The decisions of the judges are final. Specifically, a decision on a problem submission MAY NOT be appealed.
  5. The Appeals Committee overturns decisions only under extraordinary circumstances.
  6. The decision of the Appeals Committee is final.
  7. No additional finals invitations will be given to remedy a complaint.
  8. All complaints will be acknowledged.
  9. An appeal will be automatically rejected if the above procedure is not followed.
  • 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 that 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, oreasy.java for a JAVA program. The input file will be named easy.in
  • 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.

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.)

For example, consider the following team which submitted 6 runs, three for problem A, two for problem B, and one for C. For each submitted run, the table shows the time of the submission, for which problem, and the judges’ response for that particular run.

For solving problem C, the time consumed is 63 minutes. For solving problem A, the time consumed is 98 plus 2*20 for the two unsuccessful runs. So the total time for this team 63+98+2*20 = 201. (Notice that no penalties were added for problem B since it wasn’t solved correctly.)

Resolving Ties

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’ Decisions

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)

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.


Location that you'll be looking for

Contact Information

  • Visit Us
  • Call Us
    +216 98 437 437
  • Email Us

Get Directions


Enter Destination From under Get Directions and Click on Get Directions Button.