QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#184155#3098. Ancient Machinebailan#0 38ms10000kbC++202.4kb2023-09-20 14:01:222024-07-04 02:05:27

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

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

output:

18
011100000001101100

input:

18
011100000001101100

output:

0 18 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: 38ms
memory: 10000kb

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:

100000
10000011101000010010010001111010010001000000110001001100011000010100000000100000000000011001101000000001110000100011011000000000000000110110011111100000001000001100010000000001100000001000011000000110000000011011000110011000010000110011110000100101100001000111000001110000001111011010000000110...

input:

100000
10000011101000010010010001111010010001000000110001001100011000010100000000100000000000011001101000000001110000100011011000000000000000110110011111100000001000001100010000000001100000001000011000000110000000011011000110011000010000110011110000100101100001000111000001110000001111011010000000110...

output:

0 100000 0

result:

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