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 1745. Yet Another Answer

WA9 -> AC
Posted by Moy 30 Dec 2013 16:12
I had some huge problems getting from WA9 to AC. Here is a test that might help you out:
Input:
3
)))((
))))
(((((
Output:
14 3
3 1 2