Tu connais les règles du rubgy ? Tu sais compter les points ? C’est ce qu’on va voir…
La Coupe du monde continue, alors on continue l’exploration du Rugby par le code !
Cette fois-ci on se familiarise avec les règles et la façon de compter les points !
Au rugby, il y a 4 façons de marquer des points :
Rassure toi, tout ceci est finalement assez rapide à comprendre ! Magnifique sport, magnifiques règles !
Tu as à ta disposition toutes les actions du match (seulement pour ton équipe) représentées par une lettre :
Tu dois retourner le nombre total de points de ton équipe à la fin du match… mais… attention, une Transformation ne peut avoir lieu qu’après un Essai. Si un « T » ne se trouve pas immédiatement après un « E », il ne faut pas le prendre en compte. C’est la personne chargée de relever les actions qui s’est trompé ! Sûrement à cause d’un abus lors de la 3ème mi temps de la veille !
Par exemple :
challenge code for resolution via API: RUGBY_2
Some resources to help you:
Data and algorithmic logic Methodologies Corrections
Progress through challenges using our resolution aids: tools, techniques and advice to help you overcome the most complex programming challenges with methodology, confidence and creativity.
Dataset and algorithmic logic
Based on the data and the expected response, use the process to determine the logic to implement.
Show data and progressDevelop a structured approach with our solving guides. Work on specific concepts such as object-oriented programming or unit testing to improve your coding style and progress.
No methodology yet for this challenge, but we are working on it! Follow us to be informed of the release!
The corrections allow you to discover certain technical concepts but will also give you a solution to the challenge. Code the challenge yourself before consulting the corrections ;)
No answer yet for this challenge, but we&'re working on it! Follow us to be informed of the release!
Programming concept(s) that can be used to solve this challenge: Conditions, Tableaux, Chaines de caractères
Other challenges to complete