Visual illustration of the code challenge: Bug-out Shelter #2 - First clues

Bug-out Shelter #2 - First clues

Coding in the sandbox You must be logged in to access the sandbox.

Mission

Once you have identified the GPS coordinates, you set about checking what this location corresponds to. The shelter's digital archives, fragmented and incomplete, still contain a few reports on military infrastructure from before the fall. You search extensively, cross-referencing files, technical reports, and old strategic plans.

Gradually, a certainty emerges: the coordinates refer to a major military station, the central point of a vast post-nuclear survival program. This base would have been used to supervise the construction of shelters and maintain a form of administrative oversight.

As you explore further, you come across an encrypted register, presumably taken from this station. The characters are scrambled and incomplete, but the organization into lines suggests a list of names. To understand its contents, you need to decipher this register and compare it carefully with the official registers of the Prometheus shelter.

Rules

You have two variables at your disposal:

  • message: contains the encrypted log to be analyzed
  • log: contains an extract from the Prometheus shelter log

You must return the (decrypted) first names of the inhabitants found in the log. In the order in which they appear in the message.

For example: Sacha|Mariama|Audrey|Claude

Solve the challenge

To code this challenge, several possibilities:
- Want to start coding right away? Use the online Sandbox.
- Want to work in your favorite editor? Organize your code well, test, check out our API documentation.
- You can also copy/paste a dataset below.

challenge code for resolution via API: SHELTER_2

Some resources to help you:
Data and algorithmic logic Methodologies Corrections

Support for resolution

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 progress

Methodologies

Develop 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!


Corrections

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: Chaines de caractères

Keep coding

Other challenges to complete

Advance
#5 : La percée

#5 : La percée

Charlotte extraie des informations de la blockchain où sont enregistrés les NFT. Sauras tu trouver la signature de tes œuvres ?

Hack
Beginner
Braquage du coffre #1

Braquage du coffre #1

Aide le professeur et son équipe de braqueurs à trouver la combinaison du coffre.

Hack Corrigé disponible : PHP
Intermediate
Les nombres secrets de LOST

Les nombres secrets de LOST

Aide les aventuriers de l’île à trouver le bon code secret…

Hack