QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474314 | #3098. Ancient Machine | egypt_ioi2024b_04 | 0 | 38ms | 9736kb | C++20 | 2.8kb | 2024-07-12 17:21:21 | 2024-07-12 17:21:22 |
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: 3744kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
28 0010101111001101100110101111
input:
28 0010101111001101100110101111
output:
0 28 3
result:
ok n = 18, D = 28, L = 3
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 4044kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
28 0010101010011000101101100101
input:
28 0010101010011000101101100101
output:
0 28 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: 38ms
memory: 9736kb
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:
70000 111110111001101110111101001110010110000100101001110001011110010001000011101110100000010010001011010011000000001001111001111001000100001001100101010000001100100110000010010001111111101011110011010010000001111010011010101110000100011111101010010010000100010100101001000011010110010011111110011011...
input:
70000 111110111001101110111101001110010110000100101001110001011110010001000011101110100000010010001011010011000000001001111001111001000100001001100101010000001100100110000010010001111111101011110011010010000001111010011010101110000100011111101010010010000100010100101001000011010110010011111110011011...
output:
0 70000 9327
result:
wrong answer your query is valid but your solution is not optimal: read 9327 but expected 22133