QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#568627#21645. 是男人就得80分问题jxy2012100 ✓339ms4356kbC++235.7kb2024-09-16 17:26:052024-09-16 17:26:05

詳細信息


Pretests


Final Tests

Test #1:

score: 10
Accepted
time: 0ms
memory: 4228kb

input:

3
40 0
0 0
0 30
3
10 0
0 -40
-10 0

output:

41.231056256

result:

ok found '41.23106', expected '41.23106', error '0.00000'

Test #2:

score: 10
Accepted
time: 0ms
memory: 4184kb

input:

4
-20 0
0 20
20 0
0 -20
4
15 15
15 -15
-15 -15
-15 15

output:

28.284271247

result:

ok found '28.28427', expected '28.28427', error '0.00000'

Test #3:

score: 10
Accepted
time: 1ms
memory: 4192kb

input:

8
0 0
0 1
1 100
1 1
2 100
2 1
3 100
3 0
8
100 0
99 0
0 1
99 1
0 2
99 2
0 3
100 3

output:

495.015151129

result:

ok found '495.01515', expected '495.01515', error '0.00000'

Test #4:

score: 10
Accepted
time: 1ms
memory: 4304kb

input:

8
0 0
50 0
50 -10
30 -10
30 -50
20 -50
20 -10
0 -10
8
0 50
50 100
70 80
40 50
50 40
80 70
100 50
50 0

output:

75.857864376

result:

ok found '75.85786', expected '75.85786', error '0.00000'

Test #5:

score: 10
Accepted
time: 0ms
memory: 4284kb

input:

11
0 24
6 60
12 24
18 48
24 18
30 36
36 24
48 72
48 24
36 0
12 0
19
-60 -50
-60 46
60 70
48 12
48 34
-16 34
0 46
-24 34
12 16
-36 10
0 4
-24 -2
-12 -8
-48 -2
0 -26
40 -6
41 -5
48 10
96 -14

output:

49.477267507

result:

ok found '49.47727', expected '49.47727', error '0.00000'

Test #6:

score: 10
Accepted
time: 1ms
memory: 4292kb

input:

16
-1 2
0 1
1 2
1 1
2 1
1 0
2 -1
1 -1
1 -2
0 -1
-1 -2
-1 -1
-2 -1
-1 0
-2 1
-1 1
16
5 40
20 30
30 20
40 5
40 -5
30 -20
20 -30
5 -40
-5 -40
-20 -30
-30 -20
-40 -5
-40 5
-30 20
-20 30
-5 40

output:

0.000000000

result:

ok found '0.00000', expected '0.00000', error '-0.00000'

Test #7:

score: 10
Accepted
time: 1ms
memory: 4304kb

input:

11
6 0
4 0
0 10
0 20
10 20
20 22
20 -50
15 -50
14 -17
15 10
10 10
11
6 0
4 0
0 10
0 20
15 30
30 35
27 -7
20 -50
20 24
10 20
10 10

output:

54.000000000

result:

ok found '54.00000', expected '54.00000', error '0.00000'

Test #8:

score: 10
Accepted
time: 1ms
memory: 4300kb

input:

11
0 0
-50 0
-50 10
-49 10
-49 3
-20 3
-20 4
49 4
49 10
50 10
50 1
6
0 0
0 1
60 61
61 61
61 60
1 0

output:

68.292893219

result:

ok found '68.29289', expected '68.29289', error '0.00000'

Test #9:

score: 10
Accepted
time: 339ms
memory: 4356kb

input:

50
0 10
2 11
4 10
6 11
8 10
10 11
12 10
14 11
16 10
18 11
20 10
22 11
24 10
26 11
28 10
30 11
32 10
34 11
38 10
40 11
42 10
44 11
48 10
49 11
49 0
47 1
45 0
43 1
41 0
39 1
37 0
35 1
33 0
31 1
29 0
25 1
23 0
21 1
19 0
17 1
15 0
13 1
11 0
9 1
7 0
6 1
5 0
3 1
1 0
0 0
50
0 10
2 11
4 10
6 11
8 10
10 11
1...

output:

29.068883707

result:

ok found '29.06888', expected '29.06888', error '0.00000'

Test #10:

score: 10
Accepted
time: 260ms
memory: 4356kb

input:

49
-25 -10
-24 -23
-32 -9
-29 -48
-39 -68
-22 -79
-24 -53
-16 -82
13 -94
9 -42
9 -27
5 -30
4 -57
-7 -54
-16 -32
-20 20
-11 18
-6 -47
-6 -52
2 -56
3 -29
13 -24
15 -35
19 -87
21 -88
17 -36
60 15
33 11
31 37
32 59
21 52
25 0
-5 -10
-7 16
13 41
-17 51
-20 90
-39 77
-35 25
-40 35
-37 -4
-44 77
-19 92
33 ...

output:

430.953590576

result:

ok found '430.95359', expected '430.95359', error '0.00000'

Extra Test:

score: 0
Extra Test Passed