|
|
вернуться в форумI Got WA#1. But my algo passes the following three test cases. =========== Input ===================== Sample input #1 4 0011 0110 Sample input #2 4 1100 1100 Sample input #3 6 101010 101010 ============= Output ================= Sample output #1 22121112 Sample output #2 Impossible Sample output #3 111111222222 Re: I Got WA#1. But my algo passes the following three test cases. OK. I found that my program gave me the wrong answer when the input is as follow: 1 0 0 I fixed this, and I still got WA#1. I need some hints. Re: I Got WA#1. But my algo passes the following three test cases. Послано valdem 10 мар 2007 18:10 n>=4 ! |
|
|