QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#323302 | #6382. LaLa and Spirit Summoning | ucup-team2208 | TL | 2059ms | 4272kb | C++20 | 4.8kb | 2024-02-09 07:50:54 | 2024-02-09 07:50:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3840kb
input:
3 3 0 1 0 0 2 0 1 2 0
output:
5
result:
ok 1 number(s): "5"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
3 3 0 1 0 0 2 1 1 2 2
output:
3
result:
ok 1 number(s): "3"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
4 4 0 1 0 1 2 1 2 3 2 0 3 3
output:
4
result:
ok 1 number(s): "4"
Test #4:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
5 4 0 1 0 1 2 1 2 3 2 3 4 3
output:
6
result:
ok 1 number(s): "6"
Test #5:
score: 0
Accepted
time: 0ms
memory: 3896kb
input:
2 0
output:
4
result:
ok 1 number(s): "4"
Test #6:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
2 1 0 1 0
output:
3
result:
ok 1 number(s): "3"
Test #7:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
2 2 0 1 0 0 1 1
output:
3
result:
ok 1 number(s): "3"
Test #8:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
2 3 0 1 0 0 1 2 0 1 0
output:
3
result:
ok 1 number(s): "3"
Test #9:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2 4 0 1 2 0 1 3 0 1 2 0 1 3
output:
3
result:
ok 1 number(s): "3"
Test #10:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2 5 0 1 2 0 1 4 0 1 3 0 1 4 0 1 3
output:
3
result:
ok 1 number(s): "3"
Test #11:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
2 6 0 1 3 0 1 3 0 1 1 0 1 0 0 1 3 0 1 4
output:
3
result:
ok 1 number(s): "3"
Test #12:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
2 7 0 1 1 0 1 5 0 1 6 0 1 4 0 1 1 0 1 2 0 1 3
output:
3
result:
ok 1 number(s): "3"
Test #13:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
2 8 0 1 2 0 1 5 0 1 1 0 1 4 0 1 2 0 1 1 0 1 1 0 1 1
output:
3
result:
ok 1 number(s): "3"
Test #14:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
2 9 0 1 8 0 1 7 0 1 0 0 1 7 0 1 4 0 1 1 0 1 2 0 1 8 0 1 5
output:
3
result:
ok 1 number(s): "3"
Test #15:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2 10 0 1 0 0 1 7 0 1 8 0 1 5 0 1 8 0 1 7 0 1 8 0 1 3 0 1 4 0 1 3
output:
3
result:
ok 1 number(s): "3"
Test #16:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
3 0
output:
6
result:
ok 1 number(s): "6"
Test #17:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
3 1 1 2 0
output:
5
result:
ok 1 number(s): "5"
Test #18:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
3 2 1 2 1 1 2 1
output:
5
result:
ok 1 number(s): "5"
Test #19:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
3 3 1 2 2 1 2 1 0 1 1
output:
4
result:
ok 1 number(s): "4"
Test #20:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
3 4 1 2 3 0 2 1 1 2 0 1 2 3
output:
4
result:
ok 1 number(s): "4"
Test #21:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
3 5 1 2 0 1 2 2 0 1 4 0 2 0 0 1 0
output:
3
result:
ok 1 number(s): "3"
Test #22:
score: 0
Accepted
time: 0ms
memory: 4100kb
input:
3 6 1 2 4 0 1 1 0 2 5 1 2 1 0 2 3 0 1 4
output:
3
result:
ok 1 number(s): "3"
Test #23:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
3 7 1 2 6 1 2 2 1 2 4 1 2 6 1 2 1 0 2 2 0 1 6
output:
3
result:
ok 1 number(s): "3"
Test #24:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
3 8 1 2 6 0 1 2 0 1 4 0 2 3 1 2 1 1 2 0 0 2 4 1 2 4
output:
3
result:
ok 1 number(s): "3"
Test #25:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
3 9 1 2 8 1 2 4 1 2 4 1 2 8 1 2 8 1 2 4 1 2 7 0 1 3 0 2 2
output:
3
result:
ok 1 number(s): "3"
Test #26:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
3 10 0 1 9 0 2 4 0 1 0 0 1 9 1 2 4 0 1 9 1 2 9 1 2 5 1 2 5 0 1 0
output:
3
result:
ok 1 number(s): "3"
Test #27:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
4 0
output:
8
result:
ok 1 number(s): "8"
Test #28:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
4 1 1 3 0
output:
7
result:
ok 1 number(s): "7"
Test #29:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
4 2 0 1 0 1 2 0
output:
7
result:
ok 1 number(s): "7"
Test #30:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
4 3 0 3 0 2 3 1 0 3 1
output:
6
result:
ok 1 number(s): "6"
Test #31:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
4 4 2 3 1 2 3 0 0 2 2 0 1 2
output:
6
result:
ok 1 number(s): "6"
Test #32:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
4 5 2 3 1 0 1 2 1 3 3 0 3 2 2 3 3
output:
5
result:
ok 1 number(s): "5"
Test #33:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
4 6 1 3 1 0 2 5 0 3 0 0 2 3 1 3 2 0 3 4
output:
5
result:
ok 1 number(s): "5"
Test #34:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
4 7 1 2 4 0 3 4 0 2 1 2 3 4 0 2 0 0 1 1 1 3 3
output:
4
result:
ok 1 number(s): "4"
Test #35:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
4 8 0 2 1 0 3 7 1 3 7 2 3 3 1 2 0 2 3 7 1 2 0 2 3 0
output:
4
result:
ok 1 number(s): "4"
Test #36:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
4 9 0 2 5 0 3 0 1 2 5 0 2 1 2 3 1 1 3 7 1 3 2 2 3 5 0 2 8
output:
3
result:
ok 1 number(s): "3"
Test #37:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
4 10 1 2 0 0 2 0 2 3 0 0 1 1 2 3 8 1 2 2 0 3 9 1 3 6 1 2 6 1 2 4
output:
3
result:
ok 1 number(s): "3"
Test #38:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 0
output:
10
result:
ok 1 number(s): "10"
Test #39:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
5 1 0 4 0
output:
9
result:
ok 1 number(s): "9"
Test #40:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
5 2 0 3 0 0 3 1
output:
9
result:
ok 1 number(s): "9"
Test #41:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
5 3 0 2 0 1 4 2 1 2 2
output:
8
result:
ok 1 number(s): "8"
Test #42:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 4 0 1 3 3 4 2 3 4 3 2 3 2
output:
8
result:
ok 1 number(s): "8"
Test #43:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 5 0 3 4 1 2 3 2 4 0 0 4 4 1 4 3
output:
7
result:
ok 1 number(s): "7"
Test #44:
score: 0
Accepted
time: 0ms
memory: 3916kb
input:
5 6 0 2 2 3 4 5 0 3 4 1 2 5 1 2 1 3 4 4
output:
6
result:
ok 1 number(s): "6"
Test #45:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 7 0 1 0 0 2 6 3 4 3 3 4 0 0 2 6 3 4 6 3 4 4
output:
7
result:
ok 1 number(s): "7"
Test #46:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
5 8 0 4 5 2 4 4 1 2 3 1 4 2 0 3 7 2 3 6 3 4 3 3 4 4
output:
4
result:
ok 1 number(s): "4"
Test #47:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
5 9 0 2 5 0 2 4 0 2 8 2 4 3 0 1 3 2 4 3 2 3 8 0 3 8 3 4 4
output:
6
result:
ok 1 number(s): "6"
Test #48:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 10 0 2 9 3 4 7 0 3 9 0 2 3 2 4 4 3 4 3 2 3 1 0 1 9 3 4 9 2 3 8
output:
5
result:
ok 1 number(s): "5"
Test #49:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
6 0
output:
12
result:
ok 1 number(s): "12"
Test #50:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
6 1 2 4 0
output:
11
result:
ok 1 number(s): "11"
Test #51:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
6 2 1 4 1 0 4 0
output:
10
result:
ok 1 number(s): "10"
Test #52:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
6 3 1 3 1 1 4 2 0 2 0
output:
9
result:
ok 1 number(s): "9"
Test #53:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
6 4 0 3 1 4 5 1 3 5 1 2 5 2
output:
10
result:
ok 1 number(s): "10"
Test #54:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
6 5 0 1 4 0 4 1 3 4 4 1 5 0 3 5 0
output:
9
result:
ok 1 number(s): "9"
Test #55:
score: 0
Accepted
time: 0ms
memory: 4100kb
input:
6 6 4 5 5 2 3 4 3 5 4 1 3 0 4 5 0 1 3 4
output:
9
result:
ok 1 number(s): "9"
Test #56:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
6 7 4 5 5 3 5 3 1 2 1 2 5 2 1 5 5 3 4 4 1 3 1
output:
7
result:
ok 1 number(s): "7"
Test #57:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
6 8 3 5 0 4 5 1 2 5 6 1 5 2 3 5 6 0 3 4 4 5 7 0 3 7
output:
7
result:
ok 1 number(s): "7"
Test #58:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
6 9 3 4 3 2 5 1 2 3 3 3 4 4 0 3 5 2 3 7 0 5 2 0 5 3 1 3 1
output:
7
result:
ok 1 number(s): "7"
Test #59:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
6 10 0 3 8 3 4 4 2 5 1 4 5 4 3 5 8 0 5 4 2 3 0 0 1 0 3 4 0 0 2 2
output:
7
result:
ok 1 number(s): "7"
Test #60:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
7 0
output:
14
result:
ok 1 number(s): "14"
Test #61:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
7 1 0 5 0
output:
13
result:
ok 1 number(s): "13"
Test #62:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
7 2 2 6 0 5 6 0
output:
13
result:
ok 1 number(s): "13"
Test #63:
score: 0
Accepted
time: 0ms
memory: 4140kb
input:
7 3 5 6 1 0 6 0 2 4 0
output:
12
result:
ok 1 number(s): "12"
Test #64:
score: 0
Accepted
time: 0ms
memory: 4124kb
input:
7 4 1 6 2 2 5 3 0 3 3 3 4 2
output:
12
result:
ok 1 number(s): "12"
Test #65:
score: 0
Accepted
time: 0ms
memory: 4128kb
input:
7 5 4 6 0 5 6 1 1 3 3 3 6 0 2 6 2
output:
10
result:
ok 1 number(s): "10"
Test #66:
score: 0
Accepted
time: 0ms
memory: 4068kb
input:
7 6 0 1 5 0 5 4 5 6 3 1 3 2 3 6 5 1 4 4
output:
10
result:
ok 1 number(s): "10"
Test #67:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
7 7 3 4 1 3 5 6 5 6 3 2 3 5 5 6 4 0 1 2 5 6 2
output:
9
result:
ok 1 number(s): "9"
Test #68:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
7 8 5 6 3 4 6 6 3 4 1 0 2 1 1 6 5 5 6 3 5 6 2 5 6 3
output:
10
result:
ok 1 number(s): "10"
Test #69:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
7 9 2 5 3 1 6 5 1 6 4 0 3 6 2 3 7 4 5 1 5 6 8 5 6 5 5 6 7
output:
8
result:
ok 1 number(s): "8"
Test #70:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
7 10 4 6 6 4 5 1 1 4 0 4 6 6 4 5 1 4 6 7 3 5 2 5 6 1 0 4 4 2 3 9
output:
8
result:
ok 1 number(s): "8"
Test #71:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
8 0
output:
16
result:
ok 1 number(s): "16"
Test #72:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
8 1 0 3 0
output:
15
result:
ok 1 number(s): "15"
Test #73:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
8 2 0 6 1 5 7 1
output:
15
result:
ok 1 number(s): "15"
Test #74:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
8 3 1 6 1 0 3 2 0 2 2
output:
14
result:
ok 1 number(s): "14"
Test #75:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
8 4 1 5 0 5 7 2 2 7 1 3 4 1
output:
13
result:
ok 1 number(s): "13"
Test #76:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
8 5 2 6 3 1 5 1 6 7 0 6 7 2 4 5 4
output:
12
result:
ok 1 number(s): "12"
Test #77:
score: 0
Accepted
time: 0ms
memory: 4140kb
input:
8 6 2 6 2 6 7 2 2 5 3 3 5 4 0 3 4 0 1 0
output:
12
result:
ok 1 number(s): "12"
Test #78:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
8 7 3 5 6 2 4 3 4 7 0 5 6 1 3 4 5 6 7 0 5 6 6
output:
11
result:
ok 1 number(s): "11"
Test #79:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
8 8 3 4 7 0 7 3 1 6 5 3 7 1 5 7 4 0 7 2 3 7 6 0 4 6
output:
10
result:
ok 1 number(s): "10"
Test #80:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
8 9 4 5 1 5 6 2 3 7 7 5 6 8 1 3 1 6 7 4 2 7 4 4 7 0 5 6 2
output:
11
result:
ok 1 number(s): "11"
Test #81:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
8 10 4 6 7 4 5 7 2 3 2 0 6 8 3 4 7 4 5 8 5 6 1 0 2 3 1 7 5 4 7 3
output:
10
result:
ok 1 number(s): "10"
Test #82:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
9 0
output:
18
result:
ok 1 number(s): "18"
Test #83:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
9 1 0 6 0
output:
17
result:
ok 1 number(s): "17"
Test #84:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
9 2 0 1 0 1 4 0
output:
17
result:
ok 1 number(s): "17"
Test #85:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
9 3 0 3 2 4 8 2 4 8 2
output:
17
result:
ok 1 number(s): "17"
Test #86:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
9 4 0 6 2 0 2 0 1 5 2 3 7 1
output:
15
result:
ok 1 number(s): "15"
Test #87:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
9 5 0 1 4 3 6 4 6 8 4 6 8 3 6 8 1
output:
16
result:
ok 1 number(s): "16"
Test #88:
score: 0
Accepted
time: 0ms
memory: 4100kb
input:
9 6 0 4 5 6 8 0 3 4 3 2 6 5 5 6 3 4 5 0
output:
15
result:
ok 1 number(s): "15"
Test #89:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
9 7 0 6 1 2 5 5 0 7 5 5 8 3 5 6 5 3 5 0 2 6 0
output:
14
result:
ok 1 number(s): "14"
Test #90:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
9 8 0 1 2 5 8 0 5 7 0 0 8 0 4 8 3 2 7 1 1 5 1 5 8 2
output:
14
result:
ok 1 number(s): "14"
Test #91:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
9 9 0 4 1 1 2 7 2 5 0 4 7 0 4 6 3 1 8 7 0 8 8 0 4 2 5 8 8
output:
13
result:
ok 1 number(s): "13"
Test #92:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
9 10 3 8 6 5 8 4 3 6 2 2 7 9 4 7 1 0 5 9 5 6 3 7 8 4 5 6 6 0 1 7
output:
11
result:
ok 1 number(s): "11"
Test #93:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
10 0
output:
20
result:
ok 1 number(s): "20"
Test #94:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
10 1 3 4 0
output:
19
result:
ok 1 number(s): "19"
Test #95:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
10 2 3 9 0 3 9 1
output:
19
result:
ok 1 number(s): "19"
Test #96:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
10 3 2 5 1 1 5 0 8 9 0
output:
18
result:
ok 1 number(s): "18"
Test #97:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
10 4 2 5 1 1 7 3 5 6 2 3 6 2
output:
17
result:
ok 1 number(s): "17"
Test #98:
score: 0
Accepted
time: 1ms
memory: 3920kb
input:
10 5 1 9 0 1 9 0 0 8 4 5 9 3 5 6 4
output:
17
result:
ok 1 number(s): "17"
Test #99:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
10 6 0 2 4 8 9 4 5 7 2 8 9 1 7 9 3 4 8 1
output:
16
result:
ok 1 number(s): "16"
Test #100:
score: 0
Accepted
time: 0ms
memory: 4140kb
input:
10 7 0 5 0 7 8 3 2 6 2 0 1 2 8 9 3 6 7 6 0 1 5
output:
15
result:
ok 1 number(s): "15"
Test #101:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
10 8 8 9 1 5 8 4 6 8 7 4 7 2 1 6 6 8 9 4 4 6 1 3 7 5
output:
14
result:
ok 1 number(s): "14"
Test #102:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
10 9 8 9 0 5 6 5 1 2 1 5 8 2 3 9 0 1 9 6 0 2 0 8 9 0 6 7 8
output:
14
result:
ok 1 number(s): "14"
Test #103:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
10 10 1 4 9 2 4 5 3 7 2 5 8 9 4 6 6 8 9 4 2 3 2 3 9 2 2 4 9 7 8 7
output:
14
result:
ok 1 number(s): "14"
Test #104:
score: 0
Accepted
time: 4ms
memory: 3896kb
input:
200 200 20 56 24 7 129 170 89 143 66 182 187 59 1 192 60 9 181 125 164 165 175 131 195 90 118 159 152 31 46 182 74 85 3 79 97 145 66 186 161 69 93 67 102 153 82 108 194 174 67 123 59 130 171 127 159 187 65 17 54 125 138 153 92 188 199 168 30 175 165 39 96 18 58 61 191 109 156 65 181 195 1 173 183 58...
output:
264
result:
ok 1 number(s): "264"
Test #105:
score: 0
Accepted
time: 10ms
memory: 4232kb
input:
200 400 6 148 31 37 91 362 22 116 182 168 173 279 140 149 370 55 176 208 96 115 21 65 109 58 52 180 342 46 112 203 97 116 237 151 187 77 63 151 132 35 49 75 115 120 151 188 197 194 13 138 68 32 40 113 60 69 284 127 151 73 189 194 351 125 191 188 103 166 355 79 174 161 57 149 158 15 185 238 39 52 343...
output:
131
result:
ok 1 number(s): "131"
Test #106:
score: 0
Accepted
time: 2059ms
memory: 3948kb
input:
200 600 175 194 1 153 196 511 82 94 559 89 133 81 136 182 584 190 194 340 102 116 208 176 196 205 76 153 578 164 176 238 35 187 356 97 151 178 47 64 166 100 162 300 67 157 441 179 192 413 118 186 25 11 26 93 42 163 388 82 107 327 30 117 266 156 170 87 160 195 445 195 196 460 97 169 224 95 111 424 19...
output:
32
result:
ok 1 number(s): "32"
Test #107:
score: 0
Accepted
time: 693ms
memory: 4044kb
input:
200 800 122 187 20 94 196 260 141 150 535 10 149 283 132 163 47 126 176 71 109 177 44 110 180 704 100 194 767 83 171 673 149 179 124 67 115 230 31 98 599 142 183 77 20 34 682 147 156 184 25 32 781 189 193 521 46 57 92 37 180 229 70 179 181 188 199 785 17 197 182 113 156 311 113 197 291 176 190 258 1...
output:
13
result:
ok 1 number(s): "13"
Test #108:
score: 0
Accepted
time: 94ms
memory: 4272kb
input:
200 1000 184 193 429 135 150 202 15 155 569 84 189 84 106 176 82 168 192 364 126 169 236 100 182 42 175 196 660 21 109 64 51 145 994 174 198 829 111 180 136 16 194 734 12 126 609 96 141 637 45 77 165 181 183 228 59 169 689 164 170 88 8 63 249 117 121 904 0 17 192 39 156 84 196 198 860 29 51 256 108 ...
output:
6
result:
ok 1 number(s): "6"
Test #109:
score: 0
Accepted
time: 0ms
memory: 3896kb
input:
200 200 161 179 158 126 174 172 170 177 70 182 197 69 145 169 191 73 90 172 96 113 104 16 102 80 3 7 107 179 199 183 36 82 196 141 162 145 22 163 105 110 122 137 43 86 194 105 187 101 123 130 64 94 158 83 158 187 159 90 175 148 74 181 53 63 105 67 93 192 18 94 175 164 69 140 64 131 140 143 64 190 15...
output:
267
result:
ok 1 number(s): "267"
Test #110:
score: 0
Accepted
time: 38ms
memory: 4232kb
input:
200 400 146 182 165 179 194 364 81 167 387 168 181 289 85 162 301 119 123 256 28 33 197 126 149 49 160 167 249 194 196 4 59 153 382 190 194 325 19 91 228 76 150 346 78 193 214 186 193 369 92 190 120 19 28 21 59 172 377 0 75 248 149 179 113 198 199 136 143 169 209 134 168 107 45 136 231 14 87 164 121...
output:
146
result:
ok 1 number(s): "146"
Test #111:
score: -100
Time Limit Exceeded
input:
200 600 116 174 135 96 187 313 140 177 563 89 149 443 81 124 164 32 84 387 34 110 185 60 155 596 161 188 86 136 188 238 173 181 349 160 198 377 3 64 310 141 155 523 8 61 104 153 160 541 197 198 29 197 199 249 63 68 481 155 170 350 189 196 27 30 194 34 0 112 299 52 193 558 84 160 297 95 114 550 103 1...