HP SCDS is proud to be hosting its first 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 19 years ago in Houston (Texas). In 2016, 10 different HP sites all over the world organized this context, among them 3 in Europe: Newcastle, Barcelona and León.

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 May the 6th in Madrid.

Let's Code !!!





10:30 -13:30 COMPETITION
13:30-14:00 GAMING
14:00-14:30 AWARDS

Guests - Companions

11:30 -13:30

TALK D.LLUIS ALBARRACIN: "Problemas de Fermi: una herramienta de modelización matemática en Educación Secundaria"

13:30-14:00 GAMING
14:00-14:30 AWARDS

Frequently Asked Questions (F.A.Q.)

What is CodeWars about?

It is a programming competition that has been taking place for 19 years now, starting in Houston (USA). It is now a well-known event among the American students. In the last edition, in 2016, 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 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 May the 6th 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 20 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 20 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!


Of course! The winning team will get a HP Laptop for each team member.

We will also bring the winners together with the sponsor teacher to the HP R&D site in Barcelona!

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 January the 20th to April the 24th (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: Non-profit foundation promoting computer science education Interactively learn to program languages like JavaScript, Python, and Ruby online, for free. Various tutorials on CS-related topics Microsoft blogger Alfred Thompson's thoughts and information on teaching CS at the K-12 level. CodeWars Examples
28232 Las Rozas Madrid
Maps link

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