QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#206288#7336. FactoryZhaoZiLongAC ✓79ms3828kbC++201.4kb2023-10-07 19:49:402023-10-07 19:49:41

詳細信息

Test #1:

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

input:

1
3
-3 0
0 3
3 0

output:

-0.000000 1.732051

result:

ok OK!

Test #2:

score: 0
Accepted
time: 79ms
memory: 3724kb

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
1.937519 1.809542
999905.729365 -999901.241957
23.837232 -9.450904
-23.339013 6.397824
-38.153581 -11.419584
18.330693 -17.376755

result:

ok OK!

Test #3:

score: 0
Accepted
time: 78ms
memory: 3828kb

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
-6.249913 2.472719
999915.812496 -999901.145387
-22.827347 26.216935
6.560945 -5.006338
28.835343 5.183882
-13.911869 -39.528578

result:

ok OK!

Test #4:

score: 0
Accepted
time: 78ms
memory: 3716kb

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
-4.104532 -4.799103
999899.266692 -999904.209870
3.725296 18.774069
-15.448786 27.689108
5.263308 -12.082244
-42.933502 -38.488406

result:

ok OK!

Test #5:

score: 0
Accepted
time: 78ms
memory: 3712kb

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
-0.204092 -8.398512
999894.563538 -999905.994421
-20.549934 1.449055
-24.315599 0.280865
7.940687 -20.741406
24.125359 76.644697

result:

ok OK!

Test #6:

score: 0
Accepted
time: 78ms
memory: 3704kb

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
-5.569710 -1.954927
999902.605857 -999893.229065
4.502037 12.047657
1.189650 10.029835
24.327961 8.675301
-33.466755 39.659884

result:

ok OK!

Test #7:

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

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.000000 1.732051
-1000000.000000 999999.000000
-999999.211347 999999.211283
-211322.156598 211327.933861
3.000000 -9.000000
999885.994931 -999902.963667
4.959600 -1.728619
0.750447 -25.083927
20.530763 -20.200469
-6.286298 16.879424

result:

ok OK!