Generation of Combinatorial Objects · Object Indices (Optional)

Lesson 8

Nikolai Chukhin · Alexander S. Kulikov

Programming problem.

Solve the problem inverse to the previous one: reconstruct a valid bracket sequence of length 40 from its index.

This problem can only be submitted at Cogniterra.
Public samples
Public sample 1
Input
6415622134
Expected output
0101001100100000111100011111010001001111