QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#207983#7336. FactoryHuangHanShengAC ✓97ms3936kbC++202.3kb2023-10-09 02:09:572023-10-09 02:09:58

详细

Test #1:

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

input:

1
3
-3 0
0 3
3 0

output:

-0.0000000 1.7320507

result:

ok OK!

Test #2:

score: 0
Accepted
time: 97ms
memory: 3844kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
-6 15
-3 -21
2 12
1 -2
-27 -22
-3 -3
-11 0
-4 16
30 -24
-28 16
9 11
16 30
-28 -11
8 16
-30 28
23 10
-5 -11
28 10
-11 -2
30 -4
11 -17
-12 0
-5 -3
24 -13
22 -1...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
1.9375201 1.8095427
999905.7293660 -999901.2419562
23.8372316 -9.4509041
-23.3390018 6.3978334
-38.1535726 -11.4195826
18.3306863 -17.3767523

result:

ok OK!

Test #3:

score: 0
Accepted
time: 97ms
memory: 3868kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
-22 30
0 -19
-29 -2
-7 -21
8 28
6 -5
-21 13
-28 10
-7 11
-23 -4
-22 -5
-16 -12
-20 -11
7 14
-10 -8
-25 26
4 5
-8 5
30 29
6 12
20 -17
-1 12
-10 -7
-4 4
20 -7
...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
-6.2499125 2.4727195
999915.8124988 -999901.1453866
-22.8273462 26.2169377
6.5609428 -5.0063293
28.8353457 5.1838769
-13.9118618 -39.5285678

result:

ok OK!

Test #4:

score: 0
Accepted
time: 97ms
memory: 3900kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
-26 -14
18 -28
16 -4
19 18
-29 -20
-23 -17
-8 -16
-5 -20
-3 21
0 -25
-30 10
16 -11
-14 -14
20 18
-15 18
-24 22
-1 -24
-4 -6
-7 9
-1 -19
-29 25
-23 1
-15 7
17...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
-4.1045312 -4.7991031
999899.2666924 -999904.2098695
3.7252967 18.7740718
-15.4487735 27.6891174
5.2633187 -12.0822318
-42.9334966 -38.4883974

result:

ok OK!

Test #5:

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

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
20 25
10 -20
-22 18
21 16
-4 -25
16 -19
2 19
6 -26
4 -14
-27 -25
24 -28
-8 -29
2 -10
4 -10
21 -21
-1 10
-11 -6
-18 7
-16 -30
10 24
-10 18
-10 -7
-29 25
-26 -...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
-0.2040922 -8.3985121
999894.5635384 -999905.9944202
-20.5499317 1.4490579
-24.3155915 0.2808648
7.9407025 -20.7414095
24.1253735 76.6447158

result:

ok OK!

Test #6:

score: 0
Accepted
time: 97ms
memory: 3852kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
-27 5
10 -25
-9 8
28 -4
-30 -22
-22 27
-19 -24
-2 -7
-20 3
16 -16
17 28
-3 2
27 5
7 -21
28 -27
6 -25
-28 -14
5 -14
-29 18
3 9
19 -20
-30 25
-15 26
-29 0
-30 ...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
-5.5697096 -1.9549271
999902.6058578 -999893.2290661
4.5020381 12.0476584
1.1896565 10.0298388
24.3279504 8.6753035
-33.4667627 39.6598974

result:

ok OK!

Test #7:

score: 0
Accepted
time: 97ms
memory: 3848kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
2 -21
23 -17
-30 27
23 17
-5 24
-23 -4
4 -20
-10 29
13 20
29 -5
-10 -29
1 28
19 -16
-19 5
-16 1
0 -21
-28 -20
-8 -19
-5 -30
29 15
18 3
13 -19
3 -9
29 20
20 -...

output:

-0.0000000 1.7320507
-1000000.0000000 999999.4429745
-999999.2113269 999999.2113114
-211322.1550224 211327.9472350
3.0000000 -9.0000000
999885.9949322 -999902.9636653
4.9596020 -1.7286216
0.7504507 -25.0839229
20.5307685 -20.2004596
-6.2862838 16.8794298

result:

ok OK!