Time limit
1000 ms
Memory limit
262144 kB
Source
Educational Codeforces Round 4
Tags
data structures expression parsing math *1400
Editorial
Announcement (en) Tutorial (en)
Descriptions:

Replace To Make Regular Bracket Sequence

CodeForces - 612C