QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#415993#2197. Game RelicsqiuzxAC ✓29ms12508kbC++20783b2024-05-21 13:58:582024-05-21 13:58:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5976kb

input:

2 20
25 100

output:

47.500000000000

result:

ok found '47.5000000000', expected '47.5000000000', error '0.0000000000'

Test #2:

score: 0
Accepted
time: 1ms
memory: 5944kb

input:

4 30
60 50 60 80

output:

171.250000000000

result:

ok found '171.2500000000', expected '171.2500000000', error '0.0000000000'

Test #3:

score: 0
Accepted
time: 1ms
memory: 5864kb

input:

5 2
2 2 2 2 2

output:

10.000000000000

result:

ok found '10.0000000000', expected '10.0000000000', error '0.0000000000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 5912kb

input:

5 6
6 6 6 6 6

output:

30.000000000000

result:

ok found '30.0000000000', expected '30.0000000000', error '0.0000000000'

Test #5:

score: 0
Accepted
time: 0ms
memory: 5940kb

input:

1 1
10000

output:

1.000000000000

result:

ok found '1.0000000000', expected '1.0000000000', error '0.0000000000'

Test #6:

score: 0
Accepted
time: 1ms
memory: 5916kb

input:

1 1
1

output:

1.000000000000

result:

ok found '1.0000000000', expected '1.0000000000', error '0.0000000000'

Test #7:

score: 0
Accepted
time: 0ms
memory: 5880kb

input:

1 10000
10000

output:

10000.000000000000

result:

ok found '10000.0000000000', expected '10000.0000000000', error '0.0000000000'

Test #8:

score: 0
Accepted
time: 1ms
memory: 5980kb

input:

1 500
5000

output:

500.000000000000

result:

ok found '500.0000000000', expected '500.0000000000', error '0.0000000000'

Test #9:

score: 0
Accepted
time: 1ms
memory: 5912kb

input:

10 1
4 3 4 5 1 3 6 11 1 2

output:

17.254563492063

result:

ok found '17.2545634921', expected '17.2545634921', error '0.0000000000'

Test #10:

score: 0
Accepted
time: 1ms
memory: 5812kb

input:

10 9
12 10 10 9 10 11 10 10 9 9

output:

98.491666666667

result:

ok found '98.4916666667', expected '98.4916666667', error '0.0000000000'

Test #11:

score: 0
Accepted
time: 0ms
memory: 5824kb

input:

10 12
12 35 12 22 26 12 22 16 19 24

output:

165.648412698413

result:

ok found '165.6484126984', expected '165.6484126984', error '0.0000000000'

Test #12:

score: 0
Accepted
time: 29ms
memory: 12484kb

input:

100 19
342 82 33 44 28 140 51 58 120 177 38 30 227 31 29 28 138 332 206 50 33 78 28 201 19 301 85 58 294 75 131 81 189 228 109 30 39 97 22 31 176 46 31 79 41 156 28 409 249 57 22 52 42 71 66 161 37 41 58 70 34 22 42 53 235 58 85 19 36 103 32 395 126 37 137 84 64 83 105 61 88 55 28 110 37 56 188 204 ...

output:

3962.546789761517

result:

ok found '3962.5467897615', expected '3962.5467897620', error '0.0000000000'

Test #13:

score: 0
Accepted
time: 4ms
memory: 9200kb

input:

50 32
561 182 90 84 62 132 433 145 92 142 323 227 132 105 47 391 532 84 129 248 46 87 199 121 170 105 212 61 795 37 107 40 296 358 484 57 472 35 92 34 143 133 281 45 522 41 116 72 567 131

output:

3390.144618831821

result:

ok found '3390.1446188318', expected '3390.1446188317', error '0.0000000000'

Test #14:

score: 0
Accepted
time: 3ms
memory: 6928kb

input:

20 395
771 447 544 596 439 418 491 417 483 495 410 438 678 753 510 408 415 398 401 488

output:

9523.144724094849

result:

ok found '9523.1447240948', expected '9523.1447240947', error '0.0000000000'

Test #15:

score: 0
Accepted
time: 1ms
memory: 5868kb

input:

20 10
252 115 228 149 46 64 11 12 13 10 10 10 10 10 10 10 10 10 10 10

output:

342.780097113060

result:

ok found '342.7800971131', expected '342.7800971131', error '0.0000000000'

Test #16:

score: 0
Accepted
time: 0ms
memory: 6072kb

input:

20 20
584 26 34 25 20 30 21 20 20 20 20 20 20 20 20 20 20 20 20 20

output:

512.820708634331

result:

ok found '512.8207086343', expected '512.8207086343', error '0.0000000000'

Test #17:

score: 0
Accepted
time: 0ms
memory: 6092kb

input:

20 5
296 427 157 34 11 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5

output:

160.770568885449

result:

ok found '160.7705688854', expected '160.7705688854', error '0.0000000000'

Test #18:

score: 0
Accepted
time: 2ms
memory: 7692kb

input:

50 5
7782 1330 286 250 85 14 14 23 10 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5

output:

431.886132217450

result:

ok found '431.8861322174', expected '431.8861322174', error '0.0000000000'

Test #19:

score: 0
Accepted
time: 3ms
memory: 7324kb

input:

50 25
7881 734 93 122 45 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25

output:

1823.870692480511

result:

ok found '1823.8706924805', expected '1823.8706924805', error '0.0000000000'

Test #20:

score: 0
Accepted
time: 0ms
memory: 12508kb

input:

100 1
2014 5676 726 271 666 78 455 11 9 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

188.080255178526

result:

ok found '188.0802551785', expected '188.0802551785', error '0.0000000000'