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 yorksaddam at 2005-02-13 16:13:33 on Problem 1068
In Reply To:有谁能解释一题目吗?题目弄的不太明白!!!!小弟这里先谢了.... Posted by:tiger_2702 at 2004-10-03 09:48:13
就是一个括号的队列

P[i]:表示第i个括号前面有多少个'('

求w[i]:第i个 ')' 及 与其配对的 '(' 之间有多少个 ')'

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