QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474501 | #3098. Ancient Machine | egypt_ioi2024b_04 | 0 | 32ms | 9732kb | C++20 | 3.0kb | 2024-07-12 19:21:52 | 2024-07-12 19:21:53 |
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:
30 011000110001001100110101100011
input:
30 011000110001001100110101100011
output:
0 30 3
result:
ok n = 18, D = 30, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3812kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
30 111111101001110000101001101011
input:
30 111111101001110000101001101011
output:
0 30 3
result:
ok n = 18, D = 30, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3788kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
30 100011001000101000001000110000
input:
30 100011001000101000001000110000
output:
0 30 2
result:
ok n = 18, D = 30, L = 2
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3868kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
30 001110011000111011011011000010
input:
30 001110011000111011011011000010
output:
0 30 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: 32ms
memory: 9732kb
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:
69050 111001001001011001001000101111110110001110101000000001100000011010010111111111001100010011011100010111100100111111100011101011110010101001000001101111010011101011111010011110111110000010111011100111010100101001001101001111000010111000100101101111010101100110110011111000100110111011011011100001...
input:
69050 111001001001011001001000101111110110001110101000000001100000011010010111111111001100010011011100010111100100111111100011101011110010101001000001101111010011101011111010011110111110000010111011100111010100101001001101001111000010111000100101101111010101100110110011111000100110111011011011100001...
output:
0 69050 20071
result:
wrong answer your query is valid but your solution is not optimal: read 20071 but expected 22133