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

elmariachi1414 (TNU) Hint (if you have WA #9) [4] // Problem 1183. Brackets Sequence 5 Feb 2007 02:36
Try tests

[]][]
(answer length = 6)

[(][)](][([(]
(answer length = 20)
elmariachi1414 (TNU) Re: Hint (if you have WA #9) [3] // Problem 1183. Brackets Sequence 7 Feb 2007 01:53
Sorry, answer is 16 for second case
Georgiy Savchenko Re: Hint (if you have WA #9) [2] // Problem 1183. Brackets Sequence 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
elmariachi1414 (TNU) Re: Hint (if you have WA #9) [1] // Problem 1183. Brackets Sequence 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 :(
IgorKoval(from Pskov) Re: Hint (if you have WA #9) // Problem 1183. Brackets Sequence 29 Dec 2011 00:12
My AC prog. give answer:

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

lenght == 20 =)