QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483563#6150. 拼图ax_by_c0 67ms5288kbC++172.5kb2024-07-18 19:35:282024-07-18 19:35:29

詳細信息

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3816kb

input:

1
1 30
30
000000000000001000000000000000
000000000000000100000000000000
000000000000101000000010100001
000000000000000000010100000001
000100000000000000000001100000
000001000000000000000000000000
000000000100000000000000000000
000000000000000000000000000000
100000000000000000000000000000
00000100001...

output:

12

result:

wrong answer 1st numbers differ - expected: '247', found: '12'

Test #2:

score: 0
Wrong Answer
time: 2ms
memory: 4400kb

input:

1
2 100
89
00000000000000000000000000000001000000000000000000000000000001000000000010000000000000000
00000000000001000010000000011000100000001010000000000000000001000000000000000000000000010
10000000000000000000000000000000000000000000000001010001000000000000000000000000000000000
0000000000001000000...

output:

97

result:

wrong answer 1st numbers differ - expected: '1554', found: '97'

Test #3:

score: 0
Wrong Answer
time: 15ms
memory: 4948kb

input:

1
3 1000
28
0000000000000100000000000000
0000000100000000000000000000
0000100000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
000000000000001000000000000...

output:

781

result:

wrong answer 1st numbers differ - expected: '4224', found: '781'

Test #4:

score: 0
Wrong Answer
time: 23ms
memory: 4900kb

input:

1
300 100
5
00001
00101
00000
00000
00010
00000
00000
00000
00000
10000
00000
00000
00000
00000
00010
00000
00100
00010
10000
00000
00000
00000
00000
00000
00001
00000
00100
00000
00000
00000
00000
00000
00000
00000
00000
01001
01000
00100
00000
00000
00000
10001
00000
00000
00100
00000
01000
00000
...

output:

18198

result:

wrong answer 1st numbers differ - expected: '18360', found: '18198'

Test #5:

score: 0
Wrong Answer
time: 54ms
memory: 5036kb

input:

3
12 6000
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

output:

13916
25886
15700

result:

wrong answer 1st numbers differ - expected: '17840', found: '13916'

Test #6:

score: 0
Wrong Answer
time: 44ms
memory: 4996kb

input:

3
12 5000
2
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
10
00
01
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
01
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
...

output:

23517
0
85340

result:

wrong answer 1st numbers differ - expected: '26850', found: '23517'

Test #7:

score: 0
Wrong Answer
time: 60ms
memory: 5100kb

input:

3
30 1000
5
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00010
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
00000
...

output:

9657
90015
0

result:

wrong answer 1st numbers differ - expected: '9930', found: '9657'

Test #8:

score: 0
Wrong Answer
time: 67ms
memory: 5288kb

input:

3
9 10000
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
...

output:

9452
88310
3200

result:

wrong answer 1st numbers differ - expected: '13698', found: '9452'

Test #9:

score: 0
Wrong Answer
time: 41ms
memory: 4964kb

input:

3
300 100
9
000000000
000000000
000001000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
00000000...

output:

14104
3290
89160

result:

wrong answer 1st numbers differ - expected: '14706', found: '14104'

Test #10:

score: 0
Wrong Answer
time: 57ms
memory: 5036kb

input:

3
9000 10
2
00
10
00
00
00
00
00
00
00
00
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
...

output:

92300
10222
40112

result:

wrong answer 1st numbers differ - expected: '92340', found: '92300'