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 1501. Sense of Beauty

I Got WA#1. But my algo passes the following three test cases.
Posted by Kingway Jin 13 Dec 2006 09:27
=========== 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.
Posted by Kingway Jin 15 Dec 2006 12:33
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.
Posted by valdem 10 Mar 2007 18:10
 n>=4 !