QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#485647#3098. Ancient Machineegypt_ioi2024_110 32ms9900kbC++202.8kb2024-07-20 22:13:592024-07-20 22:13:59

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

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

output:

74
11111111111111111111111111111110001000000100000000000000000000000000000000

input:

74
11111111111111111111111111111110001000000100000000000000000000000000000000

output:

0 74 0

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #12:

score: 0
Wrong Answer
time: 32ms
memory: 9900kb

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:

69902
111111111111111111111111111111110001000001111001010010010100011111111111111111011001011000010011011111001000000000000010000100100000111100000101110011111111111111010000010011111011101000000101100000000000000001010101110111111001111001010000000000000000110101111011110001100011010110000000000000...

input:

69902
111111111111111111111111111111110001000001111001010010010100011111111111111111011001011000010011011111001000000000000010000100100000111100000101110011111111111111010000010011111011101000000101100000000000000001010101110111111001111001010000000000000000110101111011110001100011010110000000000000...

output:

0 69902 7130

result:

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