QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#474489 | #3098. Ancient Machine | egypt_ioi2024b_04 | 5 | 32ms | 9884kb | C++20 | 3.0kb | 2024-07-12 19:09:54 | 2024-07-12 19:09:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 5
Accepted
Test #1:
score: 100
Accepted
time: 0ms
memory: 3804kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
30 000101011110011011001101011110
input:
30 000101011110011011001101011110
output:
0 30 3
result:
ok n = 18, D = 30, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3788kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
30 111100111110100010111000100001
input:
30 111100111110100010111000100001
output:
0 30 3
result:
ok n = 18, D = 30, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
30 110010000011110100100111100000
input:
30 110010000011110100100111100000
output:
0 30 2
result:
ok n = 18, D = 30, L = 2
Test #4:
score: 100
Accepted
time: 0ms
memory: 3880kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
30 011011011010111100011111100011
input:
30 011011011010111100011111100011
output:
0 30 2
result:
ok n = 18, D = 30, L = 2
Test #5:
score: 100
Accepted
time: 0ms
memory: 4036kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
30 000111000000111100001001100001
input:
30 000111000000111100001001100001
output:
0 30 5
result:
ok n = 18, D = 30, L = 5
Test #6:
score: 100
Accepted
time: 0ms
memory: 3804kb
input:
18 X X Y Z X Y Y Y X X Z X X X Z X Z Z
output:
30 000011001111010110101001110110
input:
30 000011001111010110101001110110
output:
0 30 2
result:
ok n = 18, D = 30, L = 2
Test #7:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
3 X Y Z
output:
30 011000000110100011000100001101
input:
30 011000000110100011000100001101
output:
0 30 1
result:
ok n = 3, D = 30, L = 1
Test #8:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
3 Z Y X
output:
30 011010011011111101001100001100
input:
30 011010011011111101001100001100
output:
0 30 0
result:
ok n = 3, D = 30, L = 0
Test #9:
score: 100
Accepted
time: 0ms
memory: 4076kb
input:
18 X X X X X X X X X X X X X X X X X X
output:
30 010001000101001001000000000000
input:
30 010001000101001001000000000000
output:
0 30 0
result:
ok n = 18, D = 30, L = 0
Test #10:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
18 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
output:
30 000000000000000000000000000000
input:
30 000000000000000000000000000000
output:
0 30 0
result:
ok n = 18, D = 30, L = 0
Test #11:
score: 100
Accepted
time: 0ms
memory: 3784kb
input:
18 Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z
output:
30 000000000000000000000000000000
input:
30 000000000000000000000000000000
output:
0 30 0
result:
ok n = 18, D = 30, L = 0
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 0
Wrong Answer
time: 32ms
memory: 9884kb
input:
100000 X Z X Z Z X Y Z Y X Y X Z Z Z Y X Z Y X Y Y X Y Y Y Z Y Z Z Y X X Y X X Y Y X X X Z Y Y Y Z Z Z Z Y X Y Y Z Z Z X Y Z X X X X Y X Y X X Z X Z Z Z X Y X X X Z X Z X X X Y Y Y Y Z X X Y Z Y Y X Z X Z Z Z Z Z Y Z Y X Y Y Y Y X Z Z Y Z Z Y Z Z Z X Z Z X X Z Z Z Z X X Z Y Y Z Y Y Z Z Y Y Z Y Z Y Z...
output:
70761 101001110001100101111101101001111000100101101101010001000011010110000010010010100001000001111101111110110000010010001111001001111010101101000100001100011101100000101001011100000111100100000000111100100010001110000010100101011010001100100001110101001001100101010000010100010000111010110101100000...
input:
70761 101001110001100101111101101001111000100101101101010001000011010110000010010010100001000001111101111110110000010010001111001001111010101101000100001100011101100000101001011100000111100100000000111100100010001110000010100101011010001100100001110101001001100101010000010100010000111010110101100000...
output:
0 70761 21870
result:
wrong answer your query is valid but your solution is not optimal: read 21870 but expected 22133