QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#654092#7336. FactoryUrdAC ✓12ms3940kbC++171.7kb2024-10-18 21:04:532024-10-18 21:05:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
3
-3 0
0 3
3 0

output:

-0.00020801 1.73198374

result:

ok OK!

Test #2:

score: 0
Accepted
time: 12ms
memory: 3932kb

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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
1.93743736 1.80937090
999905.72937431 -999901.24189323
23.83704605 -9.45082768
-23.33915222 6.39772351
-38.15368729 -11.41949355
18.33055007 -17.37677251

result:

ok OK!

Test #3:

score: 0
Accepted
time: 12ms
memory: 3880kb

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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
-6.25004217 2.47265656
999915.81256017 -999901.14556431
-22.82748845 26.21692019
6.56075101 -5.00644584
28.83533173 5.18368644
-13.91190193 -39.52868856

result:

ok OK!

Test #4:

score: 0
Accepted
time: 12ms
memory: 3932kb

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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
-4.10469384 -4.79911497
999899.26673644 -999904.21003019
3.72510813 18.77405402
-15.44895654 27.68915346
5.26313690 -12.08229212
-42.93365250 -38.48836757

result:

ok OK!

Test #5:

score: 0
Accepted
time: 12ms
memory: 3940kb

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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
-0.20408541 -8.39842795
999894.56337028 -999905.99436247
-20.55006206 1.44914297
-24.31574101 0.28087050
7.94066697 -20.74137363
24.12528861 76.64458327

result:

ok OK!

Test #6:

score: 0
Accepted
time: 11ms
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
-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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
-5.56976307 -1.95503287
999902.60578991 -999893.22903287
4.50183113 12.04751713
1.18967157 10.02974818
24.32789082 8.67526488
-33.46682750 39.65997852

result:

ok OK!

Test #7:

score: 0
Accepted
time: 12ms
memory: 3800kb

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.00020801 1.73198374
-999999.99981395 999999.49981291
-999999.21149929 999999.21108328
-211322.16253621 211327.93202812
3.00003859 -9.00004470
999885.99484381 -999902.96376850
4.95947712 -1.72876025
0.75029421 -25.08390980
20.53058930 -20.20063768
-6.28627840 16.87943683

result:

ok OK!