QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#426984 | #3098. Ancient Machine | egypt_ioi2024_04 | 5 | 0ms | 4100kb | C++20 | 3.6kb | 2024-06-01 04:21:36 | 2024-06-01 04:21:37 |
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: 5
Accepted
Test #1:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
18 Y X Y Z X Z X X Z Z Y Y Z Y Y Z X X
output:
14 10000100000101
input:
14 10000100000101
output:
0 14 3
result:
ok n = 18, D = 14, L = 3
Test #2:
score: 100
Accepted
time: 0ms
memory: 3820kb
input:
18 X Z X Y Y Y X Z X Y Z Z Z Z Y Z Z Y
output:
13 0111100100110
input:
13 0111100100110
output:
0 13 3
result:
ok n = 18, D = 13, L = 3
Test #3:
score: 100
Accepted
time: 0ms
memory: 3736kb
input:
18 Y Z Z Y Z X X Z Y Y Z Z Z Y X X Z Y
output:
16 1100110111010101
input:
16 1100110111010101
output:
0 16 2
result:
ok n = 18, D = 16, L = 2
Test #4:
score: 100
Accepted
time: 0ms
memory: 3848kb
input:
18 X Z Z X Z X X Z X Y Y X X Z X Y Z X
output:
13 1110010100110
input:
13 1110010100110
output:
0 13 2
result:
ok n = 18, D = 13, L = 2
Test #5:
score: 100
Accepted
time: 0ms
memory: 3820kb
input:
18 X Y X Y Y X X Z Y Z Y X Z Y Y X X Z
output:
13 1001001001001
input:
13 1001001001001
output:
0 13 5
result:
ok n = 18, D = 13, L = 5
Test #6:
score: 100
Accepted
time: 0ms
memory: 3752kb
input:
18 X X Y Z X Y Y Y X X Z X X X Z X Z Z
output:
13 1010001100101
input:
13 1010001100101
output:
0 13 2
result:
ok n = 18, D = 13, L = 2
Test #7:
score: 100
Accepted
time: 0ms
memory: 3816kb
input:
3 X Y Z
output:
3 110
input:
3 110
output:
0 3 1
result:
ok n = 3, D = 3, L = 1
Test #8:
score: 100
Accepted
time: 0ms
memory: 3808kb
input:
3 Z Y X
output:
5 00001
input:
5 00001
output:
0 5 0
result:
ok n = 3, D = 5, L = 0
Test #9:
score: 100
Accepted
time: 0ms
memory: 4100kb
input:
18 X X X X X X X X X X X X X X X X X X
output:
13 0000000000000
input:
13 0000000000000
output:
0 13 0
result:
ok n = 18, D = 13, L = 0
Test #10:
score: 100
Accepted
time: 0ms
memory: 3848kb
input:
18 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
output:
18 000000000000001001
input:
18 000000000000001001
output:
0 18 0
result:
ok n = 18, D = 18, L = 0
Test #11:
score: 100
Accepted
time: 0ms
memory: 3868kb
input:
18 Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z
output:
18 000000000000001001
input:
18 000000000000001001
output:
0 18 0
result:
ok n = 18, D = 18, L = 0
Subtask #2:
score: 0
Programme Anna Runtime Error
Test #12:
score: 0
Programme Anna Runtime Error
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...