QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#730786#985. Attractions On Planeucup-team425#WA 1ms6092kbC++204.2kb2024-11-09 21:42:312024-11-09 21:42:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 10
1 2 5 1
2 1 1 5

output:

52.6794919243112
47.3205080756888

result:

ok 2 numbers

Test #2:

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

input:

4 7
1 3 0 0
3 4 0 0
5 5 0 0
3 4 0 0

output:

53.5714285714286
35.7142857142857
10.7142857142857
0.0000000000000

result:

ok 4 numbers

Test #3:

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

input:

4 7
1 3 0 0
3 4 0 0
5 5 0 0
3 4 0 0

output:

53.5714285714286
35.7142857142857
10.7142857142857
0.0000000000000

result:

ok 4 numbers

Test #4:

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

input:

2 10
1 2 5 1
2 1 1 5

output:

52.6794919243112
47.3205080756888

result:

ok 2 numbers

Test #5:

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

input:

4 7
1 3 0 0
3 4 0 0
5 5 0 0
3 4 0 0

output:

53.5714285714286
35.7142857142857
10.7142857142857
0.0000000000000

result:

ok 4 numbers

Test #6:

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

input:

1 526993
64 7 0 0

output:

100.0000000000000

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #7:

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

input:

2 306235
19 8 0 0
21 6 0 0

output:

0.0042451058827
99.9957548941173

result:

ok 2 numbers

Test #8:

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

input:

3 795677
34 3 0 0
56 5 0 0
48 7 0 0

output:

0.0053323863111
99.9936532034984
0.0010144101905

result:

ok 3 numbers

Test #9:

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

input:

495 368130
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
723082 376716 0 0
7...

output:

100.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.00000000...

result:

ok 495 numbers

Test #10:

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

input:

493 261998
815225 6 0 0
806366 7 0 0
103518 4 0 0
229937 5 0 0
530734 7 0 0
127508 8 0 0
128550 6 0 0
614581 8 0 0
334911 8 0 0
258776 3 0 0
256449 5 0 0
702679 3 0 0
650973 9 0 0
309392 10 0 0
414347 6 0 0
867328 5 0 0
29525 5 0 0
912594 5 0 0
221324 7 0 0
907323 3 0 0
645853 8 0 0
482215 2 0 0
652...

output:

0.0000000000000
0.0000000000000
1.1023001167134
0.7963820674878
0.0000000000000
0.4207996107983
0.3440917242500
0.0000000000000
0.0000000000000
0.5391361883676
0.1914489621335
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.1689083830281
0.0000000000000
0.4421786653...

result:

ok 493 numbers

Test #11:

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

input:

498 740195
539527 8 0 0
565139 7 0 0
138287 4 0 0
872252 2 0 0
416589 5 0 0
740672 5 0 0
774707 3 0 0
54007 5 0 0
621977 6 0 0
961953 7 0 0
48454 3 0 0
348868 2 0 0
703397 5 0 0
294082 9 0 0
928003 5 0 0
226018 10 0 0
794174 2 0 0
693633 5 0 0
796829 3 0 0
754094 1 0 0
116953 10 0 0
541832 10 0 0
72...

output:

0.4265096285512
0.0699926392568
0.0941825806372
0.0000000000000
0.2186612929172
0.6769161626297
0.0000000000000
0.1641462670985
0.5842377675385
0.0000000000000
0.2587898987203
0.2151578643550
0.1670457492022
0.1833194593853
0.0000000000000
0.1276645724447
0.0000000000000
0.2219033594438
0.0000000000...

result:

ok 498 numbers

Test #12:

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

input:

494 839352
564592 4 0 0
161754 2 0 0
55284 10 0 0
338248 1 0 0
643821 3 0 0
928087 6 0 0
369743 10 0 0
303193 6 0 0
983594 7 0 0
623627 7 0 0
728262 6 0 0
691871 3 0 0
774980 1 0 0
373696 10 0 0
582836 1 0 0
26658 2 0 0
451863 9 0 0
804980 4 0 0
656996 5 0 0
899465 4 0 0
514790 7 0 0
527354 1 0 0
52...

output:

0.1901503850501
0.9020657773543
0.5973639137503
0.1909820888441
0.4324770150866
0.0000000000000
0.4348566954096
0.2651381394501
0.0000000000000
0.1242976248059
0.3146461329879
0.1109867817460
0.3970964812999
0.3893421110632
0.0570712131256
0.1940642469037
0.2198696303407
0.6162495374640
0.2140949053...

result:

ok 494 numbers

Test #13:

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

input:

498 496147
152118 592509 0 0
993525 4837 0 0
785975 139262 0 0
899162 700698 0 0
171554 914518 0 0
929801 776817 0 0
214570 546465 0 0
55190 857202 0 0
947539 994980 0 0
721719 395723 0 0
93450 26935 0 0
99283 123727 0 0
479353 554490 0 0
628771 631484 0 0
21225 550099 0 0
141191 667118 0 0
305921 4...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
9.7951531034825
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 498 numbers

Test #14:

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

input:

496 9632
100 6 0 0
67 10 0 0
40 6 0 0
30 5 0 0
52 2 0 0
14 5 0 0
47 3 0 0
91 8 0 0
59 10 0 0
75 6 0 0
52 2 0 0
34 2 0 0
84 5 0 0
63 1 0 0
9 6 0 0
33 4 0 0
63 6 0 0
92 5 0 0
31 4 0 0
29 9 0 0
29 10 0 0
83 5 0 0
6 9 0 0
53 2 0 0
32 3 0 0
42 1 0 0
100 2 0 0
57 8 0 0
82 8 0 0
73 10 0 0
63 5 0 0
100 2 0 ...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0077865448505
0.0000000000000
0.0259551495017
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 496 numbers

Test #15:

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

input:

499 458512
93 10 0 0
99 4 0 0
10 3 0 0
82 2 0 0
47 6 0 0
78 4 0 0
88 4 0 0
80 2 0 0
74 8 0 0
95 6 0 0
33 4 0 0
59 2 0 0
35 10 0 0
38 1 0 0
39 6 0 0
56 10 0 0
55 10 0 0
74 9 0 0
34 2 0 0
61 4 0 0
22 2 0 0
99 10 0 0
100 6 0 0
80 2 0 0
20 3 0 0
97 10 0 0
10 10 0 0
50 8 0 0
51 8 0 0
47 2 0 0
83 2 0 0
34...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0001635726001
0.0000000000000
0.0000000000000
0.0000000000000
0.0003271452001
0.0000000000000
0.0000000000000
0.0000000000000
0.0002617161601
0.0000000000000
0.0004907178002
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 499 numbers

Test #16:

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

input:

499 640488
44 172080 0 0
30 772196 0 0
50 717160 0 0
10 197402 0 0
16 970353 0 0
54 651618 0 0
31 230920 0 0
97 695630 0 0
38 92569 0 0
57 70571 0 0
38 159848 0 0
77 585796 0 0
63 502621 0 0
60 593159 0 0
10 399926 0 0
14 456810 0 0
26 371544 0 0
82 315955 0 0
49 153557 0 0
83 168141 0 0
15 788409 0...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 499 numbers

Test #17:

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

input:

494 544436
117127 8 0 0
774385 3 0 0
373268 2 0 0
113350 9 0 0
599670 10 0 0
25560 5 0 0
385869 5 0 0
212221 3 0 0
180061 4 0 0
656335 8 0 0
776916 8 0 0
313834 10 0 0
922465 6 0 0
150251 3 0 0
458874 9 0 0
326063 2 0 0
638728 1 0 0
611336 4 0 0
479835 9 0 0
859054 4 0 0
314885 5 0 0
982683 7 0 0
30...

output:

0.0822075250645
0.0000000000000
0.3874786368133
0.2390506282780
0.0000000000000
0.7714439302961
0.1080016751280
0.2780114853829
0.3623008027410
0.0000000000000
0.0000000000000
0.2928520813380
0.0000000000000
0.5181520194874
0.1926584110391
0.1024023403910
0.0000000000000
0.0000000000000
0.5419335584...

result:

ok 494 numbers

Test #18:

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

input:

491 30657
666039 2 0 0
421250 6 0 0
693976 2 0 0
966143 6 0 0
475267 1 0 0
430111 8 0 0
536502 9 0 0
126789 8 0 0
614323 3 0 0
542887 9 0 0
25384 6 0 0
206512 4 0 0
212465 4 0 0
667504 4 0 0
547028 8 0 0
105982 5 0 0
885808 9 0 0
315814 5 0 0
900748 5 0 0
492501 8 0 0
995177 5 0 0
370959 4 0 0
72540...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
8.9554634566879
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 491 numbers

Test #19:

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

input:

500 373603
634330 6 0 0
804469 1 0 0
832457 8 0 0
290661 2 0 0
34741 3 0 0
317369 10 0 0
737259 7 0 0
598240 5 0 0
213043 3 0 0
21537 5 0 0
41792 9 0 0
854362 8 0 0
807353 4 0 0
710553 9 0 0
386073 1 0 0
878671 10 0 0
681973 4 0 0
623644 5 0 0
700198 8 0 0
174276 1 0 0
633025 10 0 0
277121 6 0 0
871...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.2777666177941
1.5065483576873
1.0916606607770
0.0000000000000
0.0000000000000
0.8394127627970
0.3715401524866
1.2292418290970
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 500 numbers

Test #20:

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

input:

498 428353
964849 414307 0 0
164141 688701 0 0
585198 5401 0 0
626272 636955 0 0
287448 101964 0 0
707569 113757 0 0
927356 170985 0 0
972169 371440 0 0
45688 732690 0 0
898108 961902 0 0
577269 943654 0 0
865349 272909 0 0
508707 720018 0 0
921283 648538 0 0
807666 149919 0 0
102209 943377 0 0
2859...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 498 numbers

Test #21:

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

input:

499 611623
17 8 0 0
29 1 0 0
44 3 0 0
72 10 0 0
52 3 0 0
26 8 0 0
73 1 0 0
63 5 0 0
78 7 0 0
49 5 0 0
97 8 0 0
27 8 0 0
95 2 0 0
15 5 0 0
8 1 0 0
20 5 0 0
51 7 0 0
86 7 0 0
51 6 0 0
29 8 0 0
66 5 0 0
9 10 0 0
67 9 0 0
48 1 0 0
70 7 0 0
72 8 0 0
86 6 0 0
13 5 0 0
78 4 0 0
5 5 0 0
88 8 0 0
91 1 0 0
19...

output:

0.0000000000000
0.0001634994106
0.0001226245579
0.0000000000000
0.0000000000000
0.0000000000000
0.0004904982318
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0006539976423
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 499 numbers

Test #22:

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

input:

497 941824
94 6 0 0
90 3 0 0
91 4 0 0
87 7 0 0
78 6 0 0
47 4 0 0
15 8 0 0
29 5 0 0
70 1 0 0
41 7 0 0
24 8 0 0
3 8 0 0
52 4 0 0
57 3 0 0
50 7 0 0
67 5 0 0
38 10 0 0
56 10 0 0
66 5 0 0
24 1 0 0
95 10 0 0
100 3 0 0
58 5 0 0
83 1 0 0
72 3 0 0
39 3 0 0
64 8 0 0
53 8 0 0
63 1 0 0
61 5 0 0
23 5 0 0
100 6 0...

output:

0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0001061769503
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 497 numbers

Test #23:

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

input:

492 930876
74 1 0 0
92 6 0 0
71 8 0 0
12 6 0 0
62 2 0 0
15 4 0 0
68 7 0 0
99 7 0 0
22 5 0 0
10 7 0 0
84 3 0 0
55 5 0 0
24 6 0 0
88 4 0 0
42 8 0 0
30 8 0 0
13 9 0 0
63 3 0 0
18 5 0 0
97 4 0 0
60 9 0 0
19 2 0 0
76 4 0 0
49 10 0 0
3 4 0 0
42 8 0 0
89 3 0 0
13 1 0 0
24 6 0 0
53 1 0 0
25 9 0 0
34 3 0 0
3...

output:

0.0001074256936
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000...

result:

ok 492 numbers

Test #24:

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

input:

494 498098
31 961684 0 0
33 466031 0 0
66 4373 0 0
42 827728 0 0
68 418593 0 0
33 676345 0 0
92 599399 0 0
80 833985 0 0
12 433670 0 0
70 318809 0 0
3 37188 0 0
93 385530 0 0
70 76808 0 0
13 228899 0 0
4 577262 0 0
87 930268 0 0
23 282079 0 0
54 571358 0 0
31 699398 0 0
18 358225 0 0
58 869918 0 0
6...

output:

0.0000000000000
0.0000000000000
22.9598086774263
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.0000000000000
0.000000000...

result:

ok 494 numbers

Test #25:

score: -100
Wrong Answer
time: 1ms
memory: 5952kb

input:

2 902758
32 10 90887 778141
15 4 77850 809725

output:

99.9971231948944
0.0028768051056

result:

wrong answer 1st numbers differ - expected: '91.3737496', found: '99.9971232', error = '0.0943747'