QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#485645#3098. Ancient Machineegypt_ioi2024_110 18ms9780kbC++202.7kb2024-07-20 22:11:502024-07-20 22:11:50

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: 3832kb

input:

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

output:

74
11111111111111111111111111111101100001011000000000000000000000000000000000

input:

74
11111111111111111111111111111101100001011000000000000000000000000000000000

output:

0 74 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: 18ms
memory: 9780kb

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
111111111111111111111111111111101010101010110111010110000001111111111111110100111000010100111100110011100000000000000001111000101101010001011110001011111111111111001101100110111001110010110011000000000000001011101001011010111000101011110000000000000001101000011010001101111001101000000000000000...

input:

69902
111111111111111111111111111111101010101010110111010110000001111111111111110100111000010100111100110011100000000000000001111000101101010001011110001011111111111111001101100110111001110010110011000000000000001011101001011010111000101011110000000000000001101000011010001101111001101000000000000000...

output:

0 69902 7279

result:

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