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.

1 point
Public samples
Public sample 1
Input
3079658154
Expected output
0010000001110100101110100101100110111011