## William has a favorite bracket sequence. Since his favorite sequence is quite big he provided it to you as a sequence of positive integers c1,c2,…,cnc1,c2,…,cn where cici is the number of consecutive brackets “(” if ii is an odd number or the number of consecutive brackets “)” if ii is an even number. 100% correct solution

stardevilm 57 seconds ago Uncategorized Leave a comment Compressed Bracket Sequence solution codeforces William has a favorite bracket sequence. Since his favorite sequence is quite big he provided it to you as a sequence of positive integers c1,c2,…,cnc1,c2,…,cn where cici is the number of consecutive brackets “(” if ii is an odd … Read more