QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#476816#8524. Weather Forecastahihi1234WA 1ms6100kbC++14864b2024-07-13 21:03:592024-07-13 21:03:59

详细

Test #1:

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

input:

7 3
1 3 1 2 2 2 1

output:

1.6666666667

result:

ok found '1.66667', expected '1.66667', error '0.00000'

Test #2:

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

input:

1 1
1

output:

1.0000000000

result:

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

Test #3:

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

input:

2 1
2 1

output:

1.5000000000

result:

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

Test #4:

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

input:

3 2
2 4 4

output:

3.0000000000

result:

ok found '3.00000', expected '3.00000', error '0.00000'

Test #5:

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

input:

4 2
6 7 3 12

output:

6.5000000000

result:

ok found '6.50000', expected '6.50000', error '0.00000'

Test #6:

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

input:

5 3
17 23 13 12 21

output:

16.5000000000

result:

ok found '16.50000', expected '16.50000', error '0.00000'

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 3864kb

input:

7 4
3 37 46 23 46 6 31

output:

23.7500000000

result:

wrong answer 1st numbers differ - expected: '23.00000', found: '23.75000', error = '0.75000'