摘要: Once Petya read a problem about a bracket sequence. He gave it much thought but didn't find a solution. Today you will face it. You are given string s 阅读全文
posted @ 2018-06-12 22:17 zdragon 阅读(288) 评论(0) 推荐(0) 编辑
摘要: When we are focusing on solving problems, we usually prefer to stay in front of computers rather than go out for lunch. At this time, we may call for 阅读全文
posted @ 2018-06-12 22:01 zdragon 阅读(423) 评论(0) 推荐(0) 编辑
摘要: The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the show itself. The sho 阅读全文
posted @ 2018-06-12 09:23 zdragon 阅读(186) 评论(0) 推荐(0) 编辑
摘要: We give the following inductive definition of a “regular brackets” sequence: the empty sequence is a regular brackets sequence, if s is a regular brac 阅读全文
posted @ 2018-06-12 09:06 zdragon 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Gappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Since it's Hal 阅读全文
posted @ 2018-06-12 08:59 zdragon 阅读(172) 评论(0) 推荐(0) 编辑