QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#497559#7336. Factoryucup-team1005#AC ✓258ms3988kbC++201.1kb2024-07-29 13:41:372024-07-29 13:41:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
3
-3 0
0 3
3 0

output:

-0.000000016 1.732050848

result:

ok OK!

Test #2:

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

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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
1.937519677 1.809542707
999905.729363946 -999901.241956371
23.837237027 -9.450904215
-23.339010040 6.397829633
-38.153578714 -11.419574621
18.330708664 -17.376745370

result:

ok OK!

Test #3:

score: 0
Accepted
time: 256ms
memory: 3876kb

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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
-6.249912853 2.472719911
999915.812495512 -999901.145385388
-22.827339917 26.216936965
6.560953810 -5.006326888
28.835328358 5.183862123
-13.911857433 -39.528562271

result:

ok OK!

Test #4:

score: 0
Accepted
time: 258ms
memory: 3988kb

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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
-4.104531193 -4.799103093
999899.266693319 -999904.209869139
3.725299065 18.774068365
-15.448776903 27.689099173
5.263295802 -12.082251924
-42.933495111 -38.488407530

result:

ok OK!

Test #5:

score: 0
Accepted
time: 250ms
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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
-0.204091820 -8.398511827
999894.563538125 -999905.994421874
-20.549935770 1.449052732
-24.315598529 0.280860169
7.940693897 -20.741398318
24.125359679 76.644698258

result:

ok OK!

Test #6:

score: 0
Accepted
time: 255ms
memory: 3980kb

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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
-5.569710312 -1.954926719
999902.605858577 -999893.229066446
4.502041871 12.047659799
1.189644405 10.029839979
24.327951518 8.675303962
-33.466783576 39.659907452

result:

ok OK!

Test #7:

score: 0
Accepted
time: 254ms
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
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.000000016 1.732050848
-999999.999999992 999999.335625205
-999999.211313243 999999.211323614
-211322.146516919 211327.946170161
3.000000000 -9.000000000
999885.994930718 -999902.963666282
4.959602478 -1.728618101
0.750454046 -25.083916207
20.530764982 -20.200451629
-6.286295171 16.879435313

result:

ok OK!