QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#468480 | #3098. Ancient Machine | egypt_ioi2024_13 | 0 | 40ms | 10088kb | C++20 | 1.1kb | 2024-07-08 21:02:08 | 2024-07-08 21:02:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 100
Accepted
time: 0ms
memory: 3760kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
18 011100000010110100
input:
18 011100000010110100
output:
0 18 3
result:
ok n = 18, D = 18, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3816kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
18 100100010110001101
input:
18 100100010110001101
output:
0 18 3
result:
ok n = 18, D = 18, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3880kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
18 000001001010010011
input:
18 000001001010010011
output:
0 18 2
result:
ok n = 18, D = 18, L = 2
Test #4:
score: 100
Accepted
time: 0ms
memory: 3820kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
18 100000000100010110
input:
18 100000000100010110
output:
0 18 2
result:
ok n = 18, D = 18, L = 2
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3880kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
18 110000011110110001
input:
18 110000011110110001
output:
0 18 4
result:
wrong answer your query is valid but your solution is not optimal: read 4 but expected 5
Subtask #2:
score: 0
Wrong Answer
Test #12:
score: 0
Wrong Answer
time: 40ms
memory: 10088kb
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 10000011100010010110000000111010000000000110010001000100011000010000100000100010000010001001110010000001110000001011011000000000000001011010101111100000100010010100100100000001100000100010101000010010000010001011001010101001000001110011110100001100100001001111010100110000101111101100100001010...
input:
100000 10000011100010010110000000111010000000000110010001000100011000010000100000100010000010001001110010000001110000001011011000000000000001011010101111100000100010010100100100000001100000100010101000010010000010001011001010101001000001110011110100001100100001001111010100110000101111101100100001010...
output:
0 100000 16642
result:
wrong answer your query is valid but your solution is not optimal: read 16642 but expected 22133