摘要: Description Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital 阅读全文
posted @ 2015-07-20 20:33 江南何采莲 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Description 某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行横队,训练的规则如下:从头开始一至二报数,凡报到二的出列,剩下的向小序号方向靠拢,再从头开始进行一至三报数,凡报到三的出列,剩下的向小序号方向靠拢,继续从头开始进行一至二报数。。。,以后从头开始轮流进行一至二报数 阅读全文
posted @ 2015-07-20 19:41 江南何采莲 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Description You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)if it is the empty string(b)if 阅读全文
posted @ 2015-07-20 08:57 江南何采莲 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Description The only printer in the computer science students' union is experiencing an extremely heavy workload. Sometimes there are a hundred jobs i 阅读全文
posted @ 2015-07-20 07:53 江南何采莲 阅读(302) 评论(0) 推荐(0) 编辑