How to solve a variant of 380C: Sereja and Brackets

Revision en1, by pranet, 2015-10-08 04:15:01

Original problem

If we were asked for the maximum length contiguous bracket sequence, how would this problem be solved)? Constraints may be slightly lower(n=10^5 instead of 10^6).

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English pranet 2015-10-08 04:15:01 291 Initial revision (published)