QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#469804#3098. Ancient Machineegypt_ioi2024_130 32ms9744kbC++203.5kb2024-07-10 03:58:302024-07-10 03:58:30

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Programme Bruno Runtime Error

Test #1:

score: 0
Programme Bruno Runtime Error

input:

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

output:

70
1000000000000000011000100001011011101010110100001001100111010010110001

input:


output:


result:


Subtask #2:

score: 0
Wrong Answer

Test #12:

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

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:

69765
000000000000000001001011011101010000100100011100001000000111000111010000000100001110101001000001001101110001011100011100001111011100011010110100011100101101000100000110101011000111110100111111111111100011010010110001101001111101000100110100111110111110111110010110100111011101110010101001011010...

input:

69765
000000000000000001001011011101010000100100011100001000000111000111010000000100001110101001000001001101110001011100011100001111011100011010110100011100101101000100000110101011000111110100111111111111100011010010110001101001111101000100110100111110111110111110010110100111011101110010101001011010...

output:

0 69765 14789

result:

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