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:忘了处理空行WA了无数次,贴上代码,全部用的递归,打印也没保存,用的递归打印结果

Posted by ld2rxt at 2014-09-03 02:33:18 on Problem 1141
In Reply To:忘了处理空行WA了无数次,贴上代码,全部用的递归,打印也没保存,用的递归打印结果 Posted by:ld2rxt at 2014-09-03 02:25:17
贴上一组数据
in:((()([[][(((([[[[))))]]]]]()(((([[[[[])))))))([([([([([]]]))))))([

out: ((()()[][][](((([[[[()()()()[]]]]]()(((([[][][][]])))))))([]([]([()[()[]]]))))))()[]

当然 答案是不唯一了 

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