QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#764086#9565. Birthday GiftSoloRejudgerWA 6ms3824kbC++20776b2024-11-20 00:08:172024-11-20 00:08:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3824kb

input:

5
0110101
01020102
0000021111
1012121010
0100202010

output:

3
4
0
6
0

result:

ok 5 number(s): "3 4 0 6 0"

Test #2:

score: -100
Wrong Answer
time: 6ms
memory: 3540kb

input:

50000
1010110101
1010101010
0101010101
0101010010
0101010010
1010101010
0101001010
1010010010
0100101010
1010101001
1010100101
0101010100
0100101011
0101101010
1011010110
1011010101
1010010101
1010010010
0101010101
0010101010
0101011010
0100101010
1010101010
1010010101
1010101101
1101010101
10100101...

output:

0
10
10
4
4
10
0
4
4
6
2
8
2
2
0
4
2
4
10
0
2
4
10
2
4
0
2
0
0
4
8
4
4
6
4
4
4
0
10
10
2
2
0
10
0
10
0
10
10
10
0
10
8
10
0
0
4
0
8
2
0
0
6
2
8
10
4
10
10
2
10
2
10
8
6
4
2
8
0
0
8
10
8
10
0
10
2
6
10
4
10
8
10
0
10
6
10
10
10
6
6
6
4
10
10
10
2
2
8
10
0
10
10
8
0
10
6
10
2
2
0
2
10
4
0
0
10
4
6
2
1...

result:

wrong answer 20th numbers differ - expected: '8', found: '0'