Last update: 30.03.2014

At a glance

HC2 is a programming contest where you

  • participate as a team (two or three students)
  • try to solve problems using your computer
    • You'll need to be smart and creative.
    • Usually, your solution is a short program in C/C++/Java.
    • Have a look at the problems of year 2011, 2012 and 2013 to see what they could be like!
    • There will be about 6 problems. Try to solve as many as you can.
  • meet other programmers from all over Switzerland
  • Take home your HC2 t-shirt
  • have fun ;)
  • win great prizes, enjoy the free food, ...

The remainder of this page describes some details of how the contest works..

Computer Environment

Your team will get one computer that you have to share. It runs Debian Linux with a large choice of editors and IDEs for your programming pleasure. Details can be found on the environment page.

Problem statements

Each problem will be divided into three sub-problems: an easy, medium and hard sub-problem. Initially only the easy sub-problem will be shown. Once you solve it correctly, you will get access to the medium sub-problem. It is only after you solved that, that you get access to the hard subproblem.


Once your code is ready, you'll have to upload it to the judge website. The judge will then compile and execute your program. Each sub-problem you solve correctly gives you one point.


Being a good programmer does not mean that you have to know your programming language by heart. During the contest, you have access to documentation for your favourite programming language.