QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474321 | #3098. Ancient Machine | egypt_ioi2024_11 | 0 | 36ms | 10168kb | C++20 | 839b | 2024-07-12 17:23:50 | 2024-07-12 17:23:50 |
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: 3816kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
18 010101001100100100
input:
18 010101001100100100
output:
0 18 3
result:
ok n = 18, D = 18, L = 3
Test #2:
score: 100
Accepted
time: 2ms
memory: 3880kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
18 110000010011110110
input:
18 110000010011110110
output:
0 18 3
result:
ok n = 18, D = 18, L = 3
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3816kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
18 011011010011100010
input:
18 011011010011100010
output:
0 18 0
result:
wrong answer your query is valid but your solution is not optimal: read 0 but expected 2
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 68
Acceptable Answer
time: 32ms
memory: 10168kb
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 11011001000011100100000000101100000000000100011110000111001000000000101110000010100000001000100010111110100000001101101110110011110010010011001010100110000010100110000111100010101000000011001011100010011100001101010010001110000001010101010000001000101000001010011000100000110101001000110010010...
input:
100000 11011001000011100100000000101100000000000100011110000111001000000000101110000010100000001000100010111110100000001101101110110011110010010011001010100110000010100110000111100010101000000011001011100010011100001101010010001110000001010101010000001000101000001010011000100000110101001000110010010...
output:
0 100000 22133
result:
points 0.68421052630 n = 100000, D = 100000, L = 22133
Test #13:
score: 0
Wrong Answer
time: 36ms
memory: 10044kb
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:
100000 11001110100010011101000001001000001001010101110010100010101000110000100100000110100100000001100000000010100100110001000010100110101110011000010000100100000001001100000000001011010001001001001100001000110011001001100101001001010100100011000111100010010110110001000111100110100001111000100110100...
input:
100000 11001110100010011101000001001000001001010101110010100010101000110000100100000110100100000001100000000010100100110001000010100110101110011000010000100100000001001100000000001011010001001001001100001000110011001001100101001001010100100011000111100010010110110001000111100110100001111000100110100...
output:
0 100000 11185
result:
wrong answer your query is valid but your solution is not optimal: read 11185 but expected 22275