QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505449#5839. Making Chess Boardsxiaowuc142 ✓145ms10740kbC++173.1kb2024-08-05 05:25:052024-08-05 05:25:07

詳細信息

Subtask #1:

score: 18
Accepted

Test #1:

score: 18
Accepted
time: 3ms
memory: 3916kb

input:

100
15 20
55555
00AAA
2AAD5
D552A
2AAD5
D542A
4AD4D
B52B2
52AAD
AD552
AA52D
AAAAA
5AA55
A55AA
5AA55
4 4
0
0
0
0
4 4
3
3
C
C
4 4
6
9
9
6
4 32
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
7 32
00000000
00000000
00000000
00000000
00000000
00000000
00000000
1 32
66CD1578
15 24
AA956A
5D6AD9
2294BA
A56AA9
5A8A52
...

output:

Case #1: 5
6 2
4 3
3 7
2 16
1 53
Case #2: 1
1 16
Case #3: 2
2 1
1 12
Case #4: 1
2 4
Case #5: 1
1 128
Case #6: 1
1 224
Case #7: 1
1 32
Case #8: 6
6 1
5 3
4 2
3 4
2 16
1 117
Case #9: 4
5 3
3 4
2 17
1 121
Case #10: 3
3 1
2 6
1 23
Case #11: 2
2 14
1 104
Case #12: 3
3 2
2 13
1 150
Case #13: 3
4 1
2 4
1 6...

result:

ok 411 lines

Subtask #2:

score: 24
Accepted

Test #2:

score: 24
Accepted
time: 145ms
memory: 10740kb

input:

100
15 20
55555
00AAA
2AAD5
D552A
2AAD5
D542A
4AD4D
B52B2
52AAD
AD552
AA52D
AAAAA
5AA55
A55AA
5AA55
4 4
0
0
0
0
4 4
3
3
C
C
4 4
6
9
9
6
4 32
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
7 32
00000000
00000000
00000000
00000000
00000000
00000000
00000000
1 512
CD9A2AF1A3485A9323B66897AEBB313855C4EEA758644C62A...

output:

Case #1: 5
6 2
4 3
3 7
2 16
1 53
Case #2: 1
1 16
Case #3: 2
2 1
1 12
Case #4: 1
2 4
Case #5: 1
1 128
Case #6: 1
1 224
Case #7: 1
1 512
Case #8: 2
2 1
1 16
Case #9: 2
2 1
1 32
Case #10: 2
2 2
1 48
Case #11: 2
2 8
1 28
Case #12: 4
4 3
3 2
2 5
1 74
Case #13: 4
7 2
3 1
2 13
1 121
Case #14: 2
2 8
1 64
Ca...

result:

ok 431 lines

Extra Test:

score: 0
Extra Test Passed