Generation of Combinatorial Objects · Object Indices (Optional)
Lesson 8
Programming problem.
Solve the problem inverse to the previous one: reconstruct a valid bracket sequence of length 40 from its index.
Programming task, Advanced problem
This problem can only be submitted at Cogniterra.
Public samples
Input
4458379474
Example output
0011000100011011010111010000011001111101