Parcours une île déserte à la recherche d’eau et de nourriture…
Ton avion s’est écrasé sur une île déserte. Tu es seul(e), avec très peu d’équipements. Pour survivre, tu parcours l’île en quête d’eau et de nourriture. Mais l’exploration et la survie ne sont pas de tout repos…
L’objectif est de parcourir chaque jour une région de l’île et tenter d’y survivre !
Tu commences l’aventure avec 3 caractéristiques :
L’île (island) est représentée par le tableau de ses régions. Chaque région est une chaîne de caractères, par exemple :
E_YWAFRYRT_WRAWFAYZ
Explications :
Une fois la région complètement explorée, c’est la nuit, je m’arrête et me repose :
L’exploration s’arrête :
Tu dois retourner :
Le produit des 3 caractéristiques à la fin de l’exploration.
On retirera du produit la ou les éventuelles caractéristiques à 0. La réponse n’est donc jamais 0.
Important : Si à la fin de l’exploration de la dernière section, aucune des caractéristiques n’est à zéro, la dernière nuit doit bien être réalisée.
challenge code for resolution via API: SURVIVAL_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 ;)
Programming concept(s) that can be used to solve this challenge: Conditions, Programmation Orientée Objet, Parsing
Other challenges to complete