ENG
RUS
Timus 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
1530
. Ones and Zeroes
Correct Answer
Posted by
Witek Szymaniak
18 Feb 2007 16:16
Isn't correct answer for test
INPUT:
2
01
10
OUTPUT:
1
0
Instead of
10
00
Cause
1 < 10
and I don't see that anywhere is written that the pair of sequences (a,b) should be the same length as (p,q)
© 2000–2024
Timus Online Judge Team
. All rights reserved.