QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#646084#1373. Rating ProblemsZhaoZiLongAC ✓0ms3968kbC++204.4kb2024-10-16 21:11:032024-10-16 21:11:05

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3928kb

input:

10 0

output:

-3.0000000000 3.0000000000

result:

ok 2 numbers

Test #2:

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

input:

10 10
3
2
1
0
-1
-2
-3
-2
-1
0

output:

-0.3000000000 -0.3000000000

result:

ok 2 numbers

Test #3:

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

input:

10 10
0
0
0
0
0
0
0
0
0
0

output:

0.0000000000 0.0000000000

result:

ok 2 numbers

Test #4:

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

input:

10 10
3
3
3
3
3
3
3
3
3
3

output:

3.0000000000 3.0000000000

result:

ok 2 numbers

Test #5:

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

input:

10 10
-3
-3
-3
-3
-3
-3
-3
-3
-3
-3

output:

-3.0000000000 -3.0000000000

result:

ok 2 numbers

Test #6:

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

input:

1 0

output:

-3.0000000000 3.0000000000

result:

ok 2 numbers

Test #7:

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

input:

1 1
2

output:

2.0000000000 2.0000000000

result:

ok 2 numbers

Test #8:

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

input:

9 7
1
3
2
2
1
1
2

output:

0.6666666667 2.0000000000

result:

ok 2 numbers

Test #9:

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

input:

6 4
-2
-1
-2
0

output:

-1.8333333333 0.1666666667

result:

ok 2 numbers