QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#477382 | #3098. Ancient Machine | Jasonwei | 0 | 42ms | 9904kb | C++14 | 2.8kb | 2024-07-14 02:34:45 | 2024-07-14 02:34:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 100
Accepted
time: 0ms
memory: 3788kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
44 10000000001011010001111111000001001101010011
input:
44 10000000001011010001111111000001001101010011
output:
0 44 3
result:
ok n = 18, D = 44, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3876kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
44 11011000111000110000111110111001110111001011
input:
44 11011000111000110000111110111001110111001011
output:
0 44 3
result:
ok n = 18, D = 44, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 4080kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
44 00010001100011000101110100011000011010010001
input:
44 00010001100011000101110100011000011010010001
output:
0 44 2
result:
ok n = 18, D = 44, L = 2
Test #4:
score: 100
Accepted
time: 0ms
memory: 3784kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
44 11010000010010000101100011000010000100110100
input:
44 11010000010010000101100011000010000100110100
output:
0 44 2
result:
ok n = 18, D = 44, L = 2
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3736kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
44 10011111010000111000110101010111110111011001
input:
44 10011111010000111000110101010111110111011001
output:
0 44 0
result:
wrong answer your query is valid but your solution is not optimal: read 0 but expected 5
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 100
Accepted
time: 20ms
memory: 9904kb
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:
69872 111001101011100100011010010011010101010011010000100111110101000000011100001110110010111100011101010110011000111101001000010011000000010001001111010100111000110110000001001001010001010000100010100101000111001000111110010101101001001010010011110100011111001010100101000110110110111110111110100011...
input:
69872 111001101011100100011010010011010101010011010000100111110101000000011100001110110010111100011101010110011000111101001000010011000000010001001111010100111000110110000001001001010001010000100010100101000111001000111110010101101001001010010011110100011111001010100101000110110110111110111110100011...
output:
0 69872 22133
result:
points 1.0 n = 100000, D = 69872, L = 22133
Test #13:
score: 100
Accepted
time: 42ms
memory: 9860kb
input:
100000 Z X X Y Z Z Z Y Z X Y Y Z X X Z Z Z Y Z X Y X Y X Z Y X Z X Y X Y Y Z X X Z X Z Y Z Y Z Z Z Y X Z X Z Y Y Y Z Y Z Y Z X Y X Z Z X Y X Y Z X Y Z Y X Y X X Z Z X Z X X Z X X X X Y X X Z Z X Y Y Y Y X Y X X Z Y Z Y Y Z X X Z Z Y Y X Z Y Y X Y Z Y Z Y Y Z Z X Z Y Z Z Z X Y Z Z X X X X Z Y X Y Y Z...
output:
69872 011001110001101101010011010100100000101011010110101000101001100100101000001100111011101110001010000010110011011101000111001101111011001010000001011001000110011110101111000001010111100101011111011111000110100000010001101111010111000011100100011011101011111101110000001001010011100111101011010100...
input:
69872 011001110001101101010011010100100000101011010110101000101001100100101000001100111011101110001010000010110011011101000111001101111011001010000001011001000110011110101111000001010111100101011111011111000110100000010001101111010111000011100100011011101011111101110000001001010011100111101011010100...
output:
0 69872 22275
result:
points 1.0 n = 100000, D = 69872, L = 22275
Test #14:
score: 0
Wrong Answer
time: 34ms
memory: 9740kb
input:
100000 X Z Y X Z X X Z Y Z Y Y Y Z Y Z X X Z X X Y Z X X Z Y X Y Y Z X Z Y Z X X X X Z X Y X Z X Z X X X Y X Y Z Z Z Z Z Z Z Z Y X Y Z X Z Y Z Y X Y Z Y Z Y X Y Z X Z Z Z Y X Y Y X X X X Y X X Y Z Z X Z Y Z Z Y X Y X Z Z Z X X Z X Z Z Z Z Y X Z Z X X Z Z Y X X Y Y Y X Y Y Y X X Y Y Z X Z Y Y X X Y Z...
output:
69872 111010000001110001011010000100000111110111111001010010111011001110000011001001100011010000000000011010011111101000111100010000000011000000001110110110011000011100001000001010100100101111011000110000010101111010011101001100000001001010101010100101011111111100010011111000001000111111001011111011...
input:
69872 111010000001110001011010000100000111110111111001010010111011001110000011001001100011010000000000011010011111101000111100010000000011000000001110110110011000011100001000001010100100101111011000110000010101111010011101001100000001001010101010100101011111111100010011111000001000111111001011111011...
output:
0 69872 11061
result:
wrong answer your query is valid but your solution is not optimal: read 11061 but expected 22177