|
|
вернуться в форумSome tests 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 I know, maybe you can try this. input (( )( )) output 6 3 1 2 3 Re: Some tests Послано vanla 25 ноя 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 |
|
|