Sant Cugat del Vallès, Barcelona, March 3rd, 2018


What is HP CodeWars about?
It is a programming competition that has been taking place for 20+ years, starting in Houston (USA). It is now a well-known event among the American students. Today, the competition has spread to several HP sites in USA, Europe and Asia.
Who can participate?
For 2018 event, All the students from 3er d’ESO to 2on de Batxillerat or attending Formació Professional (up to 18 years old, only students born after 2000 included) even if they do not have advanced knowledge in programming but are fond of learning and competing! The participation in the event will be in groups of 3 students sharing one PC.
Why is HP Barcelona organizing it?
We aim to raise the interest in computer Science among the youth, identify the talent among the local students and foster the use of English. We also target to promote an educational, collaborative and fun contest!
When will the competition take place and what is the agenda of the event?
The competition will take place on Saturday morning, the 3rd of March 2018. We will welcome you early in the morning, give you breakfast and some instructions for the contest before the competition begins! Once it starts, no help from the teachers will be allowed nor the access to the Internet. The competition will last for 3 hours during which you will have to solve as many problems as you can. Afterwards, we'll invite you to lunch, and it will be time for raffles and prizes. You will also have the opportunity to visit our product demo center.
How will the problems be? Which will be the level of difficulty?
The wordings and the event will be in English. There will be around 30 different problems of increasing difficulty, the first one will be the easiest and the last one the hardest. The more difficult the problem is, the more points you will earn by solving it! The 3 teams with the greater sum of points will be awarded with the 3rd, 2nd and the 1st prizes. The allowed programming languages are: C, C++, Python and Java*. No matter if you are an expert in programming or not, you will be able to solve at least some problems, learn a lot, have fun and get ready for future editions!
Which will be the Prizes?
We are preparing amazing prizes for the 3 teams awarded, the greatest will go to the team with the most amount of accumulated points. Among the prizes there will be HP high tech gadgets and many surprises that will amaze you! We will also conduct a raffle so even if you are not one of the winning teams, you can also end up with fabulous gadgets!
How and when can I register for the event?
Only teachers can register teams from the same school. As the number of participants is limited, we encourage you to register your teams right after the registration opens (early January) via our website
Please remember, a teacher needs to come with the students the day of the event.
How to get ready for the competition?

Look at the attachment document for some tips and tricks and resources.
You can refer to past editions’ problems in our website or visit the following websites. You will find in this booklet, some examples of wordings used in past editions. You can also visit the following websites with helpful videos that will teach you easily how to program!

What if I have more questions?
If you have any other questions, please do not hesitate to contact us via email at