Visual illustration of the code challenge: Traversée 26 #8 The Monolith

Traversée 26 #8 The Monolith

Your agents finally reach the heart of Sector 26. To open the central access, you must align the Monolith with the correct position and discover what it protects...
Coding in the sandbox You must be logged in to access the sandbox.

Mission

Your agents are now at the foot of the Monolith. The structure dominates the center of Sector 26, perfectly intact, silent, crossed by a vertical beam that seems to connect every system encountered since the beginning of the Crossing.

The central access is sealed by an old security dial, preserved from the time when the Monolith still served as the sector’s technical core. The AI did not destroy it. It integrated it into its own protocol, as if this human mechanism could still serve as a threshold between the outside and the core.

The dial has sixty notches. Each instruction transmitted by your agents moves the needle according to a precise logic. To open the access, you must find the correct assembly of instructions and bring the dial back to the sector’s reference position, the one around which the entire operation now seems to converge.

The Crossing has reached its breaking point. If the central access opens, your agents will finally be able to reach what the Monolith protects.

Rules

You have 2 variables available:

  • charge is the current position of the needle on the dial.
  • instructions is the list of available instructions. Each instruction is made of a letter and a digit, for example "K7".

The Monolith’s dial has 60 notches, numbered from 0 to 59.

In instructions:

  • each letter appears only once;
  • the digit indicates the multiplier applied to the current position;
  • the letter adds its alphabetical value: A is worth 1, B is worth 2, C is worth 3, and so on.

When an instruction is applied, the new needle position is calculated as follows:

new position = current position × digit + alphabetical rank of the letter

Since the dial is circular, the needle returns to mark 0 after mark 59 and continues moving. It can therefore complete several full turns around the dial.

For example, from position 12, the instruction "A4" gives:

12 × 4 + 1 = 49

Starting from position 49, the instruction "B7" moves the needle to position 45.

To open the central access, you must combine exactly 4 distinct instructions, in any order you choose.

The sequence is valid if, after applying all 4 instructions, the needle reaches the Monolith’s reference position.

You must output the codes in your sequence in the order they are applied, separated by hyphens.

Several sequences may work. Any valid sequence is accepted.

Example of the expected format: "A4-B7-E4-K3".

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_8

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

Keep coding

Other challenges to complete

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
Beginner
Code César

Code César

Une façon simple de dissimuler un message consiste à décaler toutes les lettres qu’il contient.

Hack
Beginner
Bug-out Shelter #1 – The Signal

Bug-out Shelter #1 – The Signal

A signal appears every day... You must analyze it and decrypt it...
Hack Corrigé disponible : Python