QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#231379#6263. Keep Him Insidelmq26052003AC ✓1ms3752kbC++2013.6kb2023-10-29 09:32:412023-10-29 09:32:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 0 0
0 1
-10000 -1
10000 -1

output:

0.5000000000
0.2500000000
0.2500000000

result:

ok correct

Test #2:

score: 0
Accepted
time: 1ms
memory: 3752kb

input:

3 1 1
0 0
3 0
0 3

output:

0.3333333333
0.3333333333
0.3333333333

result:

ok correct

Test #3:

score: 0
Accepted
time: 1ms
memory: 3672kb

input:

4 2 1
0 0
4 0
4 4
0 4

output:

0.5000000000
0.2500000000
0.2500000000
0

result:

ok correct

Test #4:

score: 0
Accepted
time: 1ms
memory: 3740kb

input:

5 4 3
0 2
0 -1
5 -2
5 4
2 5

output:

0.2000000000
0
0.1000000000
0.7000000000
0

result:

ok correct

Test #5:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

4 1 1
0 0
2 0
2 2
0 2

output:

0.5000000000
-0.0000000000
0.5000000000
0

result:

ok correct

Test #6:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

10 9999 9999
10000 10000
9999 10000
3232 9480
1381 8103
-1339 138
-1309 -13
0 -1500
2092 -2093
3409 -1844
10000 0

output:

0.9999065617
0
0
0
0
0.0000501278
0.0000433104
0
0
0

result:

ok correct

Test #7:

score: 0
Accepted
time: 1ms
memory: 3672kb

input:

4 3 10
-10000 -10000
10000 -10000
10000 10000
-10000 10000

output:

0.4995000000
0
0.5001500000
0.0003500000

result:

ok correct

Test #8:

score: 0
Accepted
time: 0ms
memory: 3728kb

input:

4 9999 9997
-10000 -10000
10000 -10000
10000 10000
-10000 10000

output:

0.0000500000
0.0001000000
0.9998500000
0

result:

ok correct

Test #9:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

3 -9999 -9999
-10000 -10000
10000 9999
9999 10000

output:

0.9999499987
0.0000250006
0.0000250006

result:

ok correct

Test #10:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

3 9999 9999
-10000 -10000
10000 9999
9999 10000

output:

0.0000250006
0.4999874997
0.4999874997

result:

ok correct

Test #11:

score: 0
Accepted
time: 1ms
memory: 3680kb

input:

4 0 0
-1 0
0 -1
1 0
0 1

output:

0.5000000000
-0.0000000000
0.5000000000
0

result:

ok correct

Test #12:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

3 -9999 -9999
-10000 -9999
-9998 -10000
-9999 -9998

output:

0.3333333333
0.3333333333
0.3333333333

result:

ok correct

Test #13:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

10 501 -4883
-9800 -648
-9220 -7020
-8681 -8394
5123 -9714
9084 -6948
9781 -1791
9068 9943
1486 9788
-567 9580
-5387 9042

output:

0.4135393186
0
0
0.1953353968
0.3911252846
0
0
0
0
0

result:

ok correct

Test #14:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

10 -2427 6309
-9274 4206
-7424 -9149
8531 -9126
9808 -8029
9830 -2712
8814 5816
6395 9256
3809 9060
-7269 7947
-8325 7570

output:

0.5668178727
0
0
0
0
0.0245842276
0.4085978997
0
0
0

result:

ok correct

Test #15:

score: 0
Accepted
time: 1ms
memory: 3752kb

input:

10 9903 9929
9900 9964
9904 9907
9913 9901
9982 9903
9985 9919
9985 9940
9984 9952
9978 9971
9917 9989
9900 9988

output:

0.3926380368
0.5439672802
0.0633946830
0
0
0
0
0
0
0

result:

ok correct

Test #16:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

4 -4763 -1481
-9789 3330
-1245 -9824
8612 5658
-6270 9777

output:

0.5218908742
0.3826403594
0.0954687663
0

result:

ok correct

Test #17:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

4 -5828 -2734
-9581 -7886
6814 -6138
2044 7759
-2078 9814

output:

0.6724418101
0
0.3142481565
0.0133100334

result:

ok correct

Test #18:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

5 -30 -61
-94 -51
61 -87
94 -43
41 14
-50 64

output:

0.6071428571
0.2987012987
0.0941558442
0
0

result:

ok correct

Test #19:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

5 9994 9996
9991 9997
9996 9992
9999 9990
9999 9999
9993 9999

output:

0.6250000000
0
0.1944444444
0.1805555556
0

result:

ok correct

Test #20:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

6 -2222 4045
-7346 -9353
4845 -9940
6164 3951
5835 7542
4373 9868
-5991 8668

output:

0.2832156204
0
0
0
0.4006905795
0.3160938001

result:

ok correct

Test #21:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

6 8521 1820
-9823 -9510
6717 -8681
9568 -4633
8747 9429
3592 9545
-5415 7112

output:

0.0340645951
0
0.4952247641
0.4707106408
0
0

result:

ok correct

Test #22:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

7 -5410 5191
-9950 739
-6207 -9764
6979 -9287
9232 -4700
8031 4301
5709 7849
-8440 8438

output:

0.4020771382
0
0
0
0
0.2570596140
0.3408632477

result:

ok correct

Test #23:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

7 5724 -4583
-9946 -7548
-7002 -9087
-4368 -9593
6664 -9627
9213 -5140
8776 6804
-9841 9513

output:

0.1802152203
0
0
0
0.7368177460
0.0829670337
0

result:

ok correct

Test #24:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

8 -7052 -7123
-9576 -143
-6958 -9612
-5370 -9798
5969 -7902
9491 -7205
9451 -982
6556 9714
-7662 8751

output:

0.2704533058
0.3428673776
0.3866793165
0
0
0
0
0

result:

ok correct

Test #25:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

8 4874 -8587
-9479 255
-9246 -5912
-8999 -9756
7705 -9572
9650 -7812
9687 6292
9180 9406
-8195 9864

output:

0.1014531983
0
0.0651118439
0.8334349578
0
0
0
0

result:

ok correct

Test #26:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

9 -7531 9127
-9994 2777
-8860 -5799
-5350 -7348
-2613 -8020
7132 -9208
8756 -8852
9665 -402
9521 9190
-9028 9952

output:

0.1058262158
0
0
0
0
0
0
0.0862164065
0.8079573777

result:

ok correct

Test #27:

score: 0
Accepted
time: 1ms
memory: 3752kb

input:

9 -9994 -9998
-10000 -9996
-9996 -10000
-9992 -10000
-9991 -9998
-9991 -9994
-9993 -9992
-9995 -9991
-9997 -9991
-9999 -9992

output:

0.3000000000
0
0.3000000000
0.4000000000
0
0
0
0
0

result:

ok correct

Test #28:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

9 7575 3946
-9632 8949
-8177 1024
-6420 -4609
-5610 -6935
-2573 -9154
3538 -9808
8894 -3544
7802 8804
-4290 9596

output:

0.0376908548
0
0
0
0
0
0.3938666322
0.5684425131
0

result:

ok correct

Test #29:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

8 1 3
1000 2000
-1000 2000
-2000 1000
-2000 -1000
-1000 -2000
1000 -2000
2000 -1000
2000 1000

output:

0.5006666667
0
0
0.0003333333
0.4990000000
0
0
0

result:

ok correct

Test #30:

score: 0
Accepted
time: 1ms
memory: 3740kb

input:

8 1000 1000
1100 1200
900 1200
800 1100
800 900
900 800
1100 800
1200 900
1200 1100

output:

0.5000000000
0
0
0.0000000000
0.5000000000
0
0
0

result:

ok correct

Test #31:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

9 2 8
0 0
9 0
9 1
8 4
7 6
6 7
4 8
1 9
0 9

output:

0.0714285714
0
0
0
0
0
0.3571428571
0.5714285714
0

result:

ok correct

Test #32:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

5 2 6
0 0
1 2
2 5
3 9
4 14

output:

0.3333333333
0
0.0000000000
0.6666666667
0

result:

ok correct

Test #33:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

3 9999 9999
9999 10000
0 -1500
10000 0

output:

0.9999000015
0.0000000100
0.0000999885

result:

ok correct

Test #34:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

3 9999 9999
10000 0
9999 10000
0 -1500

output:

0.0000999885
0.9999000015
0.0000000100

result:

ok correct

Test #35:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

3 9999 9999
0 -1500
10000 0
9999 10000

output:

0.0000000100
0.0000999885
0.9999000015

result:

ok correct

Test #36:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

3 0 0
1 0
-1 10000
-1 -10000

output:

0.5000000000
0.2500000000
0.2500000000

result:

ok correct

Test #37:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

3 9999 -1
0 1
-10000 -2
10000 -1

output:

0.0000200000
0.0000400000
0.9999400000

result:

ok correct

Test #38:

score: 0
Accepted
time: 1ms
memory: 3684kb

input:

3 9999 0
-10000 1
-10000 -1
10000 0

output:

0.0000250000
0.0000250000
0.9999500000

result:

ok correct

Test #39:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

3 -9999 0
-10000 1
-10000 -1
10000 0

output:

0.4999750000
0.4999750000
0.0000500000

result:

ok correct