QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#456311#8524. Weather Forecastucup-team3540#TL 1ms4072kbC++201.4kb2024-06-27 17:56:132024-06-27 17:56:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

7 3
1 3 1 2 2 2 1

output:

1.666620374

result:

ok found '1.66662', expected '1.66667', error '0.00005'

Test #2:

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

input:

1 1
1

output:

1

result:

ok found '1.00000', expected '1.00000', error '0.00000'

Test #3:

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

input:

2 1
2 1

output:

1.5

result:

ok found '1.50000', expected '1.50000', error '0.00000'

Test #4:

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

input:

3 2
2 4 4

output:

2.999976277

result:

ok found '2.99998', expected '3.00000', error '0.00002'

Test #5:

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

input:

4 2
6 7 3 12

output:

6.499961019

result:

ok found '6.49996', expected '6.50000', error '0.00004'

Test #6:

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

input:

5 3
17 23 13 12 21

output:

16.499981284

result:

ok found '16.49998', expected '16.50000', error '0.00002'

Test #7:

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

input:

7 4
3 37 46 23 46 6 31

output:

22.999942303

result:

ok found '22.99994', expected '23.00000', error '0.00006'

Test #8:

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

input:

10 5
30 91 36 53 74 91 37 1 76 3

output:

39.499998093

result:

ok found '39.50000', expected '39.50000', error '0.00000'

Test #9:

score: -100
Time Limit Exceeded

input:

100 50
593 336 577 842 505 78 665 825 990 895 952 782 721 242 421 951 786 994 238 154 356 483 686 143 220 473 920 353 738 690 96 915 913 157 412 882 465 585 963 635 68 72 901 143 50 558 310 504 987 97 588 987 841 829 780 497 758 909 503 585 91 657 912 870 663 606 748 492 175 92 375 768 773 206 676 8...

output:


result: