QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#654048#7336. FactoryUrdAC ✓19ms3892kbC++171.7kb2024-10-18 21:01:522024-10-18 21:01:56

详细

Test #1:

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

input:

1
3
-3 0
0 3
3 0

output:

-0.00000015 1.73205085

result:

ok OK!

Test #2:

score: 0
Accepted
time: 19ms
memory: 3860kb

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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
1.93751973 1.80954262
999905.72936804 -999901.24195401
23.83722814 -9.45090688
-23.33901067 6.39783849
-38.15358268 -11.41957894
18.33066505 -17.37674688

result:

ok OK!

Test #3:

score: 0
Accepted
time: 19ms
memory: 3792kb

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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
-6.24991294 2.47272020
999915.81249939 -999901.14538721
-22.82733302 26.21693394
6.56093928 -5.00633735
28.83536528 5.18387623
-13.91185801 -39.52857357

result:

ok OK!

Test #4:

score: 0
Accepted
time: 19ms
memory: 3788kb

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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
-4.10453155 -4.79910260
999899.26669568 -999904.20986754
3.72529863 18.77406603
-15.44878086 27.68910305
5.26332935 -12.08221861
-42.93346654 -38.48835729

result:

ok OK!

Test #5:

score: 0
Accepted
time: 19ms
memory: 3892kb

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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
-0.20409261 -8.39851147
999894.56353559 -999905.99442072
-20.54993030 1.44906074
-24.31559515 0.28087691
7.94069238 -20.74137421
24.12537601 76.64473569

result:

ok OK!

Test #6:

score: 0
Accepted
time: 15ms
memory: 3856kb

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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
-5.56970980 -1.95492732
999902.60585946 -999893.22906548
4.50204036 12.04766113
1.18965680 10.02984674
24.32797319 8.67530275
-33.46671900 39.65993250

result:

ok OK!

Test #7:

score: 0
Accepted
time: 19ms
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
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.00000015 1.73205085
-999999.99999986 999999.46023380
-999999.21136811 999999.21129193
-211322.15004469 211327.92947775
2.99999992 -9.00000007
999885.99493410 -999902.96366389
4.95959851 -1.72862497
0.75043647 -25.08390339
20.53077095 -20.20044522
-6.28624902 16.87944323

result:

ok OK!