HP SCDS is proud to be hosting its second HP CodeWars Edition in Madrid!

This programming challenge is addressed to students (from 14 to 18 years old), 3rd ESO to 2nd BAC and Middle Level Formative Cycles and took place for the first time 20 years ago in Houston (Texas). In 2017, 11 different HP sites all over the world organized this context, among them 4 in Europe: Newcastle, Barcelona, León and Madrid.

With this initiative, HP aims to raise interest in STEM careers among youth, both girls and boys, and identify talent. The target is to promote an educational, collaborative and fun contest. We hope that you are ready to spend an exciting and challenging day at HP León!

The contest will take place on February the 24th in Madrid.

Let's Code !!!




ramiro2103IES Ramiro de Maeztu
team_turing94Colegio Nuestra Señora de Lourdes
radiador_gang80IES Arquitecto Ventura Rodríguez
ramiro157IES Ramiro de Maeztu
ramiro339IES Ramiro de Maeztu
antikythera25Colegio Retamar
codigo_a_lo_loco21Colegio El Valle (Las Tablas)
euphrasyans_team21Colegio Retamar
tech_squad21El Valle Las Tablas
los_anfoteros11Colegio chamberí
gokuedu177Colegio Chamberí
microsomers7Colegio Nuestra Señora de la Consolación - Quintanar de la Orden
los_gigabytes7Colegio San José (Valladolid)
arpaneteam3Colegio Nuestra Señora de la Consolación - Quintanar de la Orden
conect21Colegio Árula
gokuedu18-Colegio Chamberí
los_cachopos-Colegio Khalil Gibran
Download PDF version


10:30-13:00 COMPETITION
13:00-13:30 HP GAMING

Guests - Companions


TALK BY JOSÉ MANUEL BEIRÁN: "Educación y deporte: todos formamos parte del mismo equipo"

12:30-13:00 HP HAMING: HP Omen X VR

Frequently Asked Questions (F.A.Q.)

What is CodeWars about?

It is a programming competition that has been taking place for 20 years now, starting in Houston (USA). It is now a well-known event among the American students. In the last edition, in 2017, 10 differents HP sites participated in the contest, including cities as Taipei, Bangalore, Barcelona, León and Newcastle UK.

Who can participate?

All the students from 3rd ESO to 2nd of BAC and Middle Level Formative Cycles between 14 to 18 years old (students born in 2000 included) even if they do not have advanced knowledge in programming but are fond of learning and competing! Maximum of 3 teams per school are allowed. All team members are required to be from the same school.

Why are HP Madrid organizing it?

We aim to raise the interest in computer Science among the youth and also to identify the talent among the students of the area. We also target to promote an educational, collaborative and fun contest!

When will the competition take place?

CodeWars will take place on Saturday February the 24th in Madrid.

What is the agenda of the event?

You can see the details in the agenda tab.

Games rules

  • Codewars is a contest where the teams have to resolve problems about several topics using the programming languages suggested.
  • We suggest a list with problems. Theirs score depend on its level of complexity.
  • The teams will select the problems and try to solve them in 3 hours.
  • During the contest, no help from the teachers will be allowed nor the access to the Internet. By the other hand, you can consult books and notes.
  • The team get the total score of problem with a correct solution.

Who will win CodeWars?

The contest will be won by the team that get more points.

How will be the problems?

We suggest a list with problems. Theirs score depend on its level of complexity. The first problem will be the easier and with low score and the last one will be the more complex and with higher score.

Which programming languages we can use?

The programming languages suggested are: C, C++, Python and Java.

Would you like to use another language? You can send us your proposal by email.

Which will be the level of complexity?

No matter if you are an expert in programming or not, but minimum knowledges are required:

  • Primitive data types: int, float, char.
  • Strings and array of chars.
  • Arrays.
  • Selection statements: if, if-else, switch…
  • Iteration statements (loops): for, while, repeat, foreach…

You will be able to resolve the problems better if you know about:

  • Algorithms.
  • Mathematical Logic.
  • Reading a text file.

You will be able to solve several problems!

But you not only solve problems in CodeWars! You will learn and enjoy with your classmates and with us!


Keep in touch to know this !!

How can we register for the event?

Form a team with 3 members. Talk with your teachers and they will fill the enrollment with your data. Please use the registration form.

When we register for the event?

From December the 1st to February the 16th (02:00PM).

How to get ready for the competition?

You will find in this booklet, some examples of wordings used in past editions. In order to find more problems and further information, please visit our website of resources: Resources.

What if we have more questions about CodeWars?

If you have any other questions, please do not hesitate to contact us via email:

Virtual Programming Lab (VPL) Moodle code editor plugin
VPL Demo Moodle platform demo Non-profit foundation promoting computer science education
Codecademy Interactively learn to program languages like JavaScript, Python, and Ruby online, for free.
KhanAcademy Various tutorials on CS-related topics
Alfred Thompson blog Microsoft blogger Alfred Thompson's thoughts and information on teaching CS at the K-12 level.
CodeWars examples CodeWars Examples
28232 Las Rozas Madrid
Maps link

Please download an sign this document (for each contendient) before the competition starts.