QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#469789#3098. Ancient Machineegypt_ioi2024_130 44ms9944kbC++203.1kb2024-07-10 02:42:592024-07-10 02:43:00

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 100
Accepted
time: 0ms
memory: 3816kb

input:

18
Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X

output:

84
000010110100100011000001001101100001011010100011100111010111010010010100000011000001

input:

84
000010110100100011000001001101100001011010100011100111010111010010010100000011000001

output:

0 84 3

result:

ok n = 18, D = 84, L = 3

Test #2:

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

input:

18
X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y

output:

84
100100001001010101101001101101001110001001011011000010111010010001010101111001011001

input:

84
100100001001010101101001101101001110001001011011000010111010010001010101111001011001

output:

0 84 1

result:

wrong answer your query is valid but your solution is not optimal: read 1 but expected 3

Subtask #2:

score: 0
Wrong Answer

Test #12:

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

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:

70056
100100001001010101101001101101001110001001001101111101011101010100001111010100111101011101011011001001001010011111001110100000001110010000001001001001101101110111011100111010110001110001011010000111101001010000001000110000111101011101110100000110010100001010000101010010111101111010011101111101...

input:

70056
100100001001010101101001101101001110001001001101111101011101010100001111010100111101011101011011001001001010011111001110100000001110010000001001001001101101110111011100111010110001110001011010000111101001010000001000110000111101011101110100000110010100001010000101010010111101111010011101111101...

output:

0 70056 11031

result:

wrong answer your query is valid but your solution is not optimal: read 11031 but expected 22133