Visual illustration of the code challenge: Traversée 26 #7 Urban firewall

Traversée 26 #7 Urban firewall

As they approach the Monolith, Sector 26 scrambles communications. Recover the reliable frequencies before your agents are isolated.
Coding in the sandbox You must be logged in to access the sandbox.

Mission

Your agents leave the archive zone with several traces still intact. For the first time since the beginning of the Crossing, the signal from the Monolith becomes almost continuous. It no longer feels like a distant transmission: it is a regular, deep call, as if the entire architecture of the sector were beating around it.

But the closer your agents get, the more Sector 26 tightens its defenses. Relays change frequency, drones inject false positions, and guidance panels display contradictory instructions. Some transmissions come back distorted, as if the sector were trying to rewrite your own orders before they reach the field.

Until now, the sector blocked roads, moved segments, and corrected archives. Now it is attacking the link between you and your agents directly. To continue toward the Monolith, you must analyze the received bursts, recover the frequencies that are still valid, and maintain a reliable channel through the urban firewall.

Rules

You have 2 variables available:

  • signals is the list of received bursts. Each burst is a string made only of 0, 1, and one :. It contains 2 pieces of information: the signal and its drift.
  • frequencies is the list of accepted frequencies, represented by numbers between 101 and 999.

The bursts do not reveal their frequency directly. Before reaching you, each burst has undergone four scrambling operations.

The firewall always applies the same mechanism. The first three operations leave traces in the data. The last one is known in the system logs as the mirror: the received burst is not observed from its original face.

At some point, the drift was added to scramble the signal.

From each burst, you must recover the frequency it carries.

A burst only counts if the frequency you extract from it appears in frequencies. A frequency present in frequencies, but not recovered from any burst, does not count.

Each entry in signals is unique.

You must output the sum of the accepted frequencies recovered from the bursts.

This sum represents the channels that are still reliable enough to maintain the link with your agents as they approach the Monolith.

If you get stuck, this is the right time to unlock a hint!

Solve the challenge

To code this challenge, several possibilities:
- Want to start coding right away? Use the online Sandbox.
- You can also copy/paste a dataset below.

challenge code for resolution via API: TRAVERSEE_7

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, , Cryptographie,

Keep coding

Other challenges to complete

Intermediate
Break the code #2

Break the code #2

Une chaîne de caractères complètement aléatoires… Mais peut-être pas tant que ça… Trouve le code secret qui s’y cache…

Hack
Beginner
Bug-out Shelter #2 - First clues

Bug-out Shelter #2 - First clues

Hack Corrigé disponible : Javascript
Beginner
#3 : L’alliance

#3 : L’alliance

Avec l’aide de ton amie hackeuse Charlotte, tu vas t’infiltrer au vernissage du vilain Jeff Square…

Hack