QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#426813 | #3098. Ancient Machine | egypt_ioi2024_04 | 5 | 36ms | 10536kb | C++20 | 3.6kb | 2024-05-31 22:10:08 | 2024-05-31 22:10:10 |
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: 2ms
memory: 3760kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
16 1010100100110001
input:
16 1010100100110001
output:
0 16 3
result:
ok n = 18, D = 16, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 4036kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
15 010101101111100
input:
15 010101101111100
output:
0 15 3
result:
ok n = 18, D = 15, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3852kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
18 000101101100100101
input:
18 000101101100100101
output:
0 18 2
result:
ok n = 18, D = 18, L = 2
Test #4:
score: 100
Accepted
time: 2ms
memory: 3776kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
15 110011000010100
input:
15 110011000010100
output:
0 15 2
result:
ok n = 18, D = 15, L = 2
Test #5:
score: 100
Accepted
time: 2ms
memory: 4040kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
15 000101010100010
input:
15 000101010100010
output:
0 15 5
result:
ok n = 18, D = 15, L = 5
Test #6:
score: 100
Accepted
time: 0ms
memory: 4036kb
input:
18 X X Y Z X Y Y Y X X Z X X X Z X Z Z
output:
15 101000110110010
input:
15 101000110110010
output:
0 15 2
result:
ok n = 18, D = 15, L = 2
Test #7:
score: 100
Accepted
time: 0ms
memory: 3848kb
input:
3 X Y Z
output:
3 110
input:
3 110
output:
0 3 1
result:
ok n = 3, D = 3, L = 1
Test #8:
score: 100
Accepted
time: 0ms
memory: 4004kb
input:
3 Z Y X
output:
5 00001
input:
5 00001
output:
0 5 0
result:
ok n = 3, D = 5, L = 0
Test #9:
score: 100
Accepted
time: 0ms
memory: 4008kb
input:
18 X X X X X X X X X X X X X X X X X X
output:
15 000000000000000
input:
15 000000000000000
output:
0 15 0
result:
ok n = 18, D = 15, L = 0
Test #10:
score: 100
Accepted
time: 0ms
memory: 4012kb
input:
18 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
output:
15 000000000000000
input:
15 000000000000000
output:
0 15 0
result:
ok n = 18, D = 15, L = 0
Test #11:
score: 100
Accepted
time: 0ms
memory: 3776kb
input:
18 Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z
output:
15 000000000000000
input:
15 000000000000000
output:
0 15 0
result:
ok n = 18, D = 15, L = 0
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 89
Acceptable Answer
time: 36ms
memory: 10524kb
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:
75000 111011000110010000110010000000010101100101110000000011100110100000100100011110100000111011011101010011101110001110000001110101110110001000101110110110101000111010100110000111111010000100001000001110110000111010100010011101010010011110111000100111101010101101011101101010000100101101100010111110...
input:
75000 111011000110010000110010000000010101100101110000000011100110100000100100011110100000111011011101010011101110001110000001110101110110001000101110110110101000111010100110000111111010000100001000001110110000111010100010011101010010011110111000100111101010101101011101101010000100101101100010111110...
output:
0 75000 22133
result:
points 0.89473684210 n = 100000, D = 75000, L = 22133
Test #13:
score: 0
Wrong Answer
time: 22ms
memory: 10536kb
input:
100000 Z X X Y Z Z Z Y Z X Y Y Z X X Z Z Z Y Z X Y X Y X Z Y X Z X Y X Y Y Z X X Z X Z Y Z Y Z Z Z Y X Z X Z Y Y Y Z Y Z Y Z X Y X Z Z X Y X Y Z X Y Z Y X Y X X Z Z X Z X X Z X X X X Y X X Z Z X Y Y Y Y X Y X X Z Y Z Y Y Z X X Z Z Y Y X Z Y Y X Y Z Y Z Y Y Z Z X Z Y Z Z Z X Y Z Z X X X X Z Y X Y Y Z...
output:
75001 000110100011111000010100110111111010001110001101000011000110011000101100000110011101101000001110011011100010110010000010010000000011010010011101000100010010011011010011111110101101110110111011101101110110100101100011001101110010000011110100000011010010000010000101001111010110110000011100101100...
input:
75001 000110100011111000010100110111111010001110001101000011000110011000101100000110011101101000001110011011100010110010000010010000000011010010011101000100010010011011010011111110101101110110111011101101110110100101100011001101110010000011110100000011010010000010000101001111010110110000011100101100...
output:
0 75001 11185
result:
wrong answer your query is valid but your solution is not optimal: read 11185 but expected 22275