ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1183. Brackets Sequence

Hint (if you have WA #9)
Posted by elmariachi1414 (TNU) 5 Feb 2007 02:36
Try tests

[]][]
(answer length = 6)

[(][)](][([(]
(answer length = 20)
Re: Hint (if you have WA #9)
Posted by elmariachi1414 (TNU) 7 Feb 2007 01:53
Sorry, answer is 16 for second case
Re: Hint (if you have WA #9)
Posted by Georgiy Savchenko 19 Jul 2007 15:35
Could you please publish the answer with length = 16? My program gives len=20 and I'm also unable to find such answer manually. Maybe that's why I'm experiencing WA9

Edited by author 19.07.2007 15:35
Re: Hint (if you have WA #9)
Posted by elmariachi1414 (TNU) 24 Jul 2007 16:26
Hm, my AC program gives this answer
[()][()]()[][()[]()]
(length = 20)
Maybe I was confused during solving this problem, so previous posts maybe wrong :(
Re: Hint (if you have WA #9)
Posted by IgorKoval(from Pskov) 29 Dec 2011 00:12
My AC prog. give answer:

[()][()]([][([()])])

lenght == 20 =)