QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#589474#8775. MountainCraftHuangHanShengWA 2ms10072kbC++172.8kb2024-09-25 18:04:522024-09-25 18:04:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 10
3 2
7 3
9 6

output:

5.656854249
12.727922061
12.727922061

result:

ok 3 numbers

Test #2:

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

input:

5 100
31 41
59 26
31 41
59 26
31 41

output:

101.823376491
120.208152802
73.539105243
0.000000000
101.823376491

result:

ok 5 numbers

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 10052kb

input:

100 10
6 4
2 3
7 6
5 5
3 6
7 5
5 8
10 4
9 8
0 9
9 10
9 3
2 3
10 10
8 4
10 9
0 1
1 7
0 2
3 4
10 3
3 10
7 4
7 5
1 4
0 7
1 9
5 6
8 8
7 4
8 1
3 9
2 1
5 5
2 1
10 9
8 4
0 9
10 7
4 1
9 10
8 6
5 4
1 4
0 9
9 3
4 8
5 10
7 2
8 10
7 10
3 4
2 2
8 5
0 9
5 3
1 4
6 4
0 3
8 1
1 6
3 8
8 4
6 5
10 2
2 2
8 4
6 1
2 4
6 4...

output:

11.313708499
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
12.727922061
14.142135624
14.142135624
14.142135624
0.000000000
8.485281374
12.727922061
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14.142135624
14....

result:

wrong answer 10th numbers differ - expected: '14.1421356', found: '12.7279221', error = '0.1000000'