|
|
back to boardWhy WA 9? Posted by Zhuojie 23 Jan 2010 18:22 Some tests Posted by Arkadiy 24 Jan 2010 15:43 Try this: Test 1 input 1 ()) output 0 0 Test 2 input 1 () output 2 1 1 Test 3 input 2 () )( output 2 1 1 Test 4 input 2 () () output 4 2 1 2 Test 5 input 2 ((( ))))( output 0 0 I had WA 9 too, but now I have WA 11... Re: Some tests Posted by Zhuojie 25 Jan 2010 07:22 I know, maybe you can try this. input (( )( )) output 6 3 1 2 3 Re: Some tests Posted by vanla 25 Nov 2011 00:39 I've WA #11 and my solution passes your tests. Maybe you know another interesting one? Re: Some tests 6 )))((()(())(()()()())() )) (()(( (())( ()))(())( )))) Helped me to pass 9 Re: Why WA 9? Try following tests: 4 (( )( ) ))( 8 4 1 2 4 3 6 ((( ( )(( ))( )))(( ()) 14 4 1 5 4 6 |
|
|