Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:拙劣的代码。估计没几个人看的明白In Reply To:拙劣的代码。估计没几个人看的明白 Posted by:StepByStepCnmLife at 2015-05-10 22:37:56 谢天谢地,我调了好久,真开心。代码太难看了。 也没有去找巧妙的方法,感觉可以给么一对括号匹配,记录下括号的标号。然后对每一对括号两边的运算符进行探测以确定括号是否必须。有空再试试。那样能行的话代码就比较短了吧。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator