QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#469812 | #3098. Ancient Machine | egypt_ioi2024_13 | 0 | 24ms | 9732kb | C++20 | 3.5kb | 2024-07-10 04:10:37 | 2024-07-10 04:10:37 |
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: 3816kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
70 1000000000000000011000100001011011101010110100001001100111010010110001
input:
70 1000000000000000011000100001011011101010110100001001100111010010110001
output:
0 70 3
result:
ok n = 18, D = 70, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3856kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
70 0000000000000000011100010000010000111100010110111010111101101010010000
input:
70 0000000000000000011100010000010000111100010110111010111101101010010000
output:
0 70 3
result:
ok n = 18, D = 70, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 4116kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
70 1010000000000000010011000001000011001111001001100011100100010011010110
input:
70 1010000000000000010011000001000011001111001001100011100100010011010110
output:
0 70 2
result:
ok n = 18, D = 70, L = 2
Test #4:
score: 100
Accepted
time: 0ms
memory: 3828kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
70 0000000000000000011010100111001011001111011100100111010011000111110001
input:
70 0000000000000000011010100111001011001111011100100111010011000111110001
output:
0 70 2
result:
ok n = 18, D = 70, L = 2
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3812kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
70 0000000000000000000101110001110000001010011101011101111010111100110000
input:
70 0000000000000000000101110001110000001010011101011101111010111100110000
output:
0 70 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: 24ms
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:
69765 000000000000000000001011001001010011000100011100001000000111000111010000000100001110101001000001001101110001011100011100001111011100011010110100011100101101000100000110101011001011110111101111101111100011010010110001101001111101000100110100111110111110111110010110100111011101110010001001010000...
input:
69765 000000000000000000001011001001010011000100011100001000000111000111010000000100001110101001000001001101110001011100011100001111011100011010110100011100101101000100000110101011001011110111101111101111100011010010110001101001111101000100110100111110111110111110010110100111011101110010001001010000...
output:
0 69765 21588
result:
wrong answer your query is valid but your solution is not optimal: read 21588 but expected 22133