QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474606 | #3098. Ancient Machine | egypt_ioi2024b_04 | 0 | 40ms | 9960kb | C++20 | 3.0kb | 2024-07-12 20:56:13 | 2024-07-12 20:56:13 |
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: 3764kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
28 0101000101100000010111011101
input:
28 0101000101100000010111011101
output:
0 28 3
result:
ok n = 18, D = 28, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3772kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
28 1111100001101111101001010011
input:
28 1111100001101111101001010011
output:
0 28 3
result:
ok n = 18, D = 28, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3752kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
28 1010111101100100100111010000
input:
28 1010111101100100100111010000
output:
0 28 2
result:
ok n = 18, D = 28, L = 2
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3800kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
28 0000101110011110011010001100
input:
28 0000101110011110011010001100
output:
0 28 1
result:
wrong answer your query is valid but your solution is not optimal: read 1 but expected 2
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 0
Wrong Answer
time: 40ms
memory: 9960kb
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:
69256 110001010001001101010110011101110010110110111001011001001101011101000110011111000000111011001011111011001110011010111111011001110001100000010010100000110010100110000110100101111110010001010100001011000010111011000110010110001010100101101101010110101101100011101110101011111001010010011101100100...
input:
69256 110001010001001101010110011101110010110110111001011001001101011101000110011111000000111011001011111011001110011010111111011001110001100000010010100000110010100110000110100101111110010001010100001011000010111011000110010110001010100101101101010110101101100011101110101011111001010010011101100100...
output:
0 69256 21041
result:
wrong answer your query is valid but your solution is not optimal: read 21041 but expected 22133