Visual illustration of the code challenge: Bug-out Shelter #4 – Vital Silence

Bug-out Shelter #4 – Vital Silence

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

Mission

You understand that it’s no longer just about observing the threat — immediate action is required.
The first step is to verify internally that the shelter remains invisible. Every system — ventilation, energy, communications, water circulation — is capable of generating noise or signals that could be detected from the outside. The slightest leak or anomaly could become the weak link.

You must therefore analyze the shelter’s operational data to detect all suspicious emissions, neutralize the dangerous ones, and preserve the absolute silence that is keeping you alive.

Rules

You have 2 variables at your disposal:

  • control: contains the noise threshold to check against.
  • equipements: contains the list of equipment to monitor.

Each piece of equipment is represented by 2 pieces of information:

  • Its 2-letter code
  • Its noise level

You must check each piece of equipment and identify those whose noise level is higher than the control point.
For these, you need to calculate how much to reduce their noise to bring them back to the accepted level.

You must return the codes of the equipment that exceed the control level AND the sum of the reductions applied to these pieces of equipment (separated by an underscore).

For example : NEEZQCGNHVOEUBDHEDHT_273

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_4

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: Conditions, Tableaux, Calculs

Keep coding

Other challenges to complete

Beginner
Greenoïd #2 - A lead to investigate

Greenoïd #2 - A lead to investigate

Analyse the robot logs to try and find where it came from
Calculation Corrigé disponible : TypeScript
Beginner
Orion – Défense spatiale #2

Orion – Défense spatiale #2

Continue ton analyse pour définir la vague la plus puissante parmi celles en approche.

Calculation
Advance
CodeMind #6 : Réseaux sociaux

CodeMind #6 : Réseaux sociaux

Analyse l’impact des messages sur les réseaux sociaux et protège la santé mentale des utilisateurs. Détecte les risques et contribue à un espace plus positif.

Calculation