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 StepByStepCnmLife at 2015-05-10 22:47:47 on Problem 1400
In Reply To:拙劣的代码。估计没几个人看的明白 Posted by:StepByStepCnmLife at 2015-05-10 22:37:56
谢天谢地,我调了好久,真开心。代码太难看了。
也没有去找巧妙的方法,感觉可以给么一对括号匹配,记录下括号的标号。然后对每一对括号两边的运算符进行探测以确定括号是否必须。有空再试试。那样能行的话代码就比较短了吧。

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