QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502898#8652. Abstract Artxiaowuc1AC ✓241ms58312kbJava82.2kb2024-08-03 15:26:262024-08-03 15:26:28

詳細信息

Test #1:

score: 100
Accepted
time: 42ms
memory: 37560kb

input:

3
8 7 10 7 17 10 20 17 20 20 17 20 10 17 7 10 7
4 0 0 0 8 8 8 8 0
4 3 3 3 13 13 13 13 3

output:

315.0 258.5

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 47ms
memory: 37288kb

input:

1
6 50 80 60 50 90 10 50 50 10 10 40 50

output:

700.0 700.0

result:

ok 2 numbers

Test #3:

score: 0
Accepted
time: 44ms
memory: 38024kb

input:

2
6 50 80 60 50 90 10 50 50 10 10 40 50
3 20 30 80 30 50 10

output:

1300.0 1271.1111111111113

result:

ok 2 numbers

Test #4:

score: 0
Accepted
time: 63ms
memory: 39396kb

input:

15
3 5 90 95 90 95 89
3 5 10 5 11 95 10
3 10 5 10 95 11 95
3 90 95 90 5 89 5
3 5 80 95 80 95 79
3 5 20 5 21 95 20
3 20 5 20 95 21 95
3 80 95 80 5 79 5
4 13 13 13 17 17 17 17 13
4 83 83 83 87 87 87 87 83
4 13 83 13 87 17 87 17 83
4 83 13 83 17 87 17 87 13
8 30 30 30 35 65 35 65 65 30 65 30 70 70 70 7...

output:

1218.0 1176.350820886312

result:

ok 2 numbers

Test #5:

score: 0
Accepted
time: 32ms
memory: 38780kb

input:

4
3 5 90 95 90 95 89
3 5 10 5 11 95 10
3 10 5 10 95 11 95
3 90 95 90 5 89 5

output:

180.0 179.77039871620744

result:

ok 2 numbers

Test #6:

score: 0
Accepted
time: 44ms
memory: 37152kb

input:

4
3 10 5 10 95 11 95
3 5 90 95 90 95 89
3 5 10 5 11 95 10
3 90 95 90 5 89 5

output:

180.0 179.77039871620744

result:

ok 2 numbers

Test #7:

score: 0
Accepted
time: 44ms
memory: 37260kb

input:

1
16 480 560 500 900 520 560 800 800 560 520 900 500 560 480 800 200 520 440 500 100 480 440 200 200 440 480 100 500 440 520 200 800

output:

80000.0 80000.0

result:

ok 2 numbers

Test #8:

score: 0
Accepted
time: 41ms
memory: 37308kb

input:

2
16 480 560 500 900 520 560 800 800 560 520 900 500 560 480 800 200 520 440 500 100 480 440 200 200 440 480 100 500 440 520 200 800
16 485 570 505 910 525 570 805 810 565 530 905 510 565 490 805 210 525 450 505 110 485 450 205 210 445 490 105 510 445 530 205 810

output:

160000.0 98513.08416289592

result:

ok 2 numbers

Test #9:

score: 0
Accepted
time: 41ms
memory: 38544kb

input:

5
16 480 560 500 900 520 560 800 800 560 520 900 500 560 480 800 200 520 440 500 100 480 440 200 200 440 480 100 500 440 520 200 800
4 10 700 10 750 990 750 990 700
4 10 250 10 300 990 300 990 250
4 700 10 700 990 750 990 750 10
4 250 10 250 990 300 990 300 10

output:

276000.0 256644.2577030813

result:

ok 2 numbers

Test #10:

score: 0
Accepted
time: 46ms
memory: 37144kb

input:

2
12 50 50 100 300 150 200 200 300 250 200 300 300 350 200 400 300 450 200 500 300 550 200 600 50
12 50 450 600 450 550 210 500 310 450 210 400 310 350 210 300 310 250 210 200 310 150 210 100 310

output:

195000.0 195000.0

result:

ok 2 numbers

Test #11:

score: 0
Accepted
time: 33ms
memory: 38276kb

input:

2
12 50 50 100 300 150 200 200 300 250 200 300 300 350 200 400 300 450 200 500 300 550 200 600 50
12 50 450 600 450 550 190 500 290 450 190 400 290 350 190 300 290 250 190 200 290 150 190 100 290

output:

205000.0 200487.80487804877

result:

ok 2 numbers

Test #12:

score: 0
Accepted
time: 34ms
memory: 37260kb

input:

2
12 50 350 100 600 150 500 200 600 250 500 300 600 350 500 400 600 450 500 500 600 550 500 600 350
12 50 450 600 450 550 210 500 310 450 210 400 310 350 210 300 310 250 210 200 310 150 210 100 310

output:

195000.0 144211.99633699635

result:

ok 2 numbers

Test #13:

score: 0
Accepted
time: 38ms
memory: 37252kb

input:

2
12 50 350 100 600 150 400 200 600 250 400 300 600 350 400 400 600 450 400 500 600 550 400 600 350
12 50 450 600 450 550 210 500 410 450 210 400 410 350 210 300 410 250 210 200 410 150 210 100 410

output:

145000.0 104930.02873563216

result:

ok 2 numbers

Test #14:

score: 0
Accepted
time: 41ms
memory: 37272kb

input:

2
3 100 100 150 200 200 100
3 100 150 200 150 150 50

output:

10000.0 6875.0

result:

ok 2 numbers

Test #15:

score: 0
Accepted
time: 38ms
memory: 38536kb

input:

2
3 110 100 160 200 210 100
3 100 150 200 150 150 50

output:

10000.0 6975.0

result:

ok 2 numbers

Test #16:

score: 0
Accepted
time: 115ms
memory: 44308kb

input:

100
4 0 0 0 3 3 3 3 0
4 2 2 2 5 5 5 5 2
4 4 4 4 7 7 7 7 4
4 6 6 6 9 9 9 9 6
4 8 8 8 11 11 11 11 8
4 10 10 10 13 13 13 13 10
4 12 12 12 15 15 15 15 12
4 14 14 14 17 17 17 17 14
4 16 16 16 19 19 19 19 16
4 18 18 18 21 21 21 21 18
4 20 20 20 23 23 23 23 20
4 22 22 22 25 25 25 25 22
4 24 24 24 27 27 27 ...

output:

900.0 801.0

result:

ok 2 numbers

Test #17:

score: 0
Accepted
time: 241ms
memory: 58312kb

input:

100
20 0 0 0 2 5 3 1 4 4 5 3 6 0 6 1 7 2 7 0 10 10 10 10 8 5 7 9 6 6 5 7 4 10 4 9 3 8 3 10 0
20 9 9 9 11 14 12 10 13 13 14 12 15 9 15 10 16 11 16 9 19 19 19 19 17 14 16 18 15 15 14 16 13 19 13 18 12 17 12 19 9
20 18 18 18 20 23 21 19 22 22 23 21 24 18 24 19 25 20 25 18 28 28 28 28 26 23 25 27 24 24 ...

output:

7000.0 6901.0

result:

ok 2 numbers

Test #18:

score: 0
Accepted
time: 39ms
memory: 37252kb

input:

2
4 10 10 10 20 20 20 20 10
4 0 0 0 30 30 30 30 0

output:

1000.0 900.0

result:

ok 2 numbers

Test #19:

score: 0
Accepted
time: 60ms
memory: 38176kb

input:

100
4 0 0 0 1000 1000 1000 1000 0
4 1 1 1 999 999 999 999 1
4 2 2 2 998 998 998 998 2
4 3 3 3 997 997 997 997 3
4 4 4 4 996 996 996 996 4
4 5 5 5 995 995 995 995 5
4 6 6 6 994 994 994 994 6
4 7 7 7 993 993 993 993 7
4 8 8 8 992 992 992 992 8
4 9 9 9 991 991 991 991 9
4 10 10 10 990 990 990 990 10
4 ...

output:

8.15134E7 1000000.0

result:

ok 2 numbers

Test #20:

score: 0
Accepted
time: 130ms
memory: 43300kb

input:

51
20 0 0 5 5 0 10 5 15 0 20 5 25 0 30 5 35 0 40 5 45 0 50 5 55 0 60 5 65 0 70 5 75 0 80 5 85 0 90 50 44
20 3 0 8 5 3 10 8 15 3 20 8 25 3 30 8 35 3 40 8 45 3 50 8 55 3 60 8 65 3 70 8 75 3 80 8 85 3 90 53 44
20 6 0 11 5 6 10 11 15 6 20 11 25 6 30 11 35 6 40 11 45 6 50 11 55 6 60 11 65 6 70 11 75 6 80...

output:

103275.0 14022.861258865243

result:

ok 2 numbers

Test #21:

score: 0
Accepted
time: 172ms
memory: 45316kb

input:

51
20 90 0 85 5 80 0 75 5 70 0 65 5 60 0 55 5 50 0 45 5 40 0 35 5 30 0 25 5 20 0 15 5 10 0 5 5 0 0 44 50
20 90 3 85 8 80 3 75 8 70 3 65 8 60 3 55 8 50 3 45 8 40 3 35 8 30 3 25 8 20 3 15 8 10 3 5 8 0 3 44 53
20 90 6 85 11 80 6 75 11 70 6 65 11 60 6 55 11 50 6 45 11 40 6 35 11 30 6 25 11 20 6 15 11 10...

output:

103275.0 14022.861258865252

result:

ok 2 numbers

Test #22:

score: 0
Accepted
time: 44ms
memory: 37708kb

input:

4
4 0 0 0 1 1 1 1 0
4 0 999 0 1000 1 1000 1 999
4 999 999 999 1000 1000 1000 1000 999
4 999 0 999 1 1000 1 1000 0

output:

4.0 4.0

result:

ok 2 numbers