Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

测试了很多数据都没错,能给我错误的数据点吗?

Posted by queyue2004 at 2005-07-19 17:53:51 on Problem 1141
In Reply To:大家好,谁能帮我测试下下面这个数据需要多少个括号? Posted by:queyue2004 at 2005-07-19 17:25:52
上面的输出是:
(([]))[]([])[[]]((()))[]([])([[[[([])]]]])[(((([([[]])]))))]()[([([[([])]])])]()(())[[]]([])(([[]]))()([([])])([[[([([])])]]])[()](())[[()]]()([[()]])
括号只要能匹配而且括号数达到最小就可以了不是么?

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator