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

Re:水题

Posted by jackjie at 2012-03-29 21:10:45 on Problem 3991
In Reply To:这题怎么解 Posted by:kea_IV at 2012-03-29 21:05: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