QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#403867#6216. 最佳团队dXqwq100 ✓177ms52908kbC++231.2kb2024-05-02 19:42:262024-05-02 19:42:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6 20
6916 2778 0
5387 8336 1
1422 6650 0
8691 28 2
3927 7764 4
9173 3427 0
5369 5212 2
5783 6430 7
5124 2863 8
3930 3136 7
3059 4023 7
1394 8168 5
8043 5012 5
4422 7374 1
8538 3785 14
8316 4325 14
3527 6414 9
9957 8981 1
9171 6863 15
2306 7282 16

output:

1.293

result:

ok single line: '1.293'

Test #2:

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

input:

14 20
4576 6789 0
865 6499 1
9628 8746 0
1150 180 2
5050 5038 3
2368 8774 2
3573 6003 4
9768 6316 1
9631 3211 1
8014 3064 6
4803 9783 7
7653 9197 5
6398 8474 10
2929 9168 1
7966 4261 11
3091 8915 4
5446 1645 16
1761 6567 1
1324 4310 13
4387 6606 8

output:

1.662

result:

ok single line: '1.662'

Test #3:

score: 10
Accepted
time: 1ms
memory: 4320kb

input:

78 100
5872 9900 0
2587 4444 1
2154 1601 1
5332 9322 3
9721 3866 1
5571 5747 4
2964 505 3
2750 505 4
9393 2962 4
3214 3231 7
3113 531 7
3908 1856 6
5509 5954 1
4830 3621 9
5048 5499 0
7146 7678 4
4002 8414 4
4506 4202 12
7467 8438 18
7049 2696 0
7579 5630 9
5787 788 0
8092 4884 6
8064 1134 21
3562 2...

output:

1.262

result:

ok single line: '1.262'

Test #4:

score: 10
Accepted
time: 1ms
memory: 4340kb

input:

57 100
8127 5194 0
9470 626 1
2755 3610 0
3846 8771 3
5370 3710 0
1082 4718 5
2624 3155 5
5615 4821 6
4938 9792 6
8015 6408 1
3209 4092 4
3834 1399 0
3795 8518 0
8917 526 7
2627 8453 11
3696 5628 5
3202 7838 3
8022 6252 9
4166 3724 0
573 9065 5
4665 3762 0
2415 2938 7
933 1584 6
7810 2983 23
6262 45...

output:

1.399

result:

ok single line: '1.399'

Test #5:

score: 10
Accepted
time: 1ms
memory: 4232kb

input:

8 100
1948 6938 0
5030 4654 0
9169 478 2
8474 6497 3
9846 8697 1
6263 3323 2
3554 8311 1
5608 8334 3
5238 519 1
5201 4010 9
2138 6360 7
3143 9004 9
3621 9838 10
6469 7733 3
5165 7055 8
4839 9331 13
3150 4918 0
7835 9289 2
8354 1723 17
8715 3882 1
5074 1448 7
429 7314 4
267 4560 13
4351 7327 21
7757 ...

output:

2.733

result:

ok single line: '2.733'

Test #6:

score: 10
Accepted
time: 175ms
memory: 52884kb

input:

1510 2500
5718 8535 0
2976 2087 0
885 2258 0
1656 5040 1
8171 3932 0
5329 2254 3
8883 9546 6
4915 3422 7
3064 2533 1
5179 2017 0
65 8907 10
8503 3971 7
760 1733 5
2151 335 2
6082 217 2
8336 3946 12
4233 9942 2
7654 5814 8
187 2123 15
8555 7803 11
7462 8845 16
1432 9252 11
9517 5338 12
6203 2308 7
64...

output:

1.497

result:

ok single line: '1.497'

Test #7:

score: 10
Accepted
time: 171ms
memory: 52844kb

input:

267 2500
9317 5241 0
4786 5971 1
4681 1447 1
9382 1091 0
1929 4092 0
9211 6710 5
2857 7503 0
7236 7121 5
2614 4534 1
4367 7935 2
9608 5113 10
1930 7801 11
3376 754 7
4466 7406 0
4909 3368 1
1618 8839 14
5472 7874 11
2592 9408 15
7125 5178 2
1411 5842 6
6524 6772 4
4324 7019 1
5077 8403 10
8834 4468 ...

output:

2.646

result:

ok single line: '2.646'

Test #8:

score: 10
Accepted
time: 172ms
memory: 52892kb

input:

384 2500
1673 8399 0
1741 7488 0
1992 3027 0
1719 1171 1
8680 4679 2
9882 856 1
1382 613 6
1528 5411 5
1852 1356 2
3169 667 5
7919 868 1
5406 3294 9
8432 5404 12
5954 929 1
633 7873 5
1488 9824 6
8452 8665 3
214 4630 13
1569 3074 13
8588 851 0
9455 160 17
2748 7494 10
4503 6568 17
5431 3985 11
9655 ...

output:

2.425

result:

ok single line: '2.425'

Test #9:

score: 10
Accepted
time: 175ms
memory: 52892kb

input:

325 2500
9241 6870 0
9832 4601 0
5556 2397 2
7217 639 0
9848 7091 3
9310 4689 3
2085 5428 3
3927 469 5
2416 8749 2
7645 3544 9
866 8616 3
1818 6266 3
567 8333 0
1205 5189 11
4648 1109 9
5688 5670 12
1115 77 6
1583 6418 11
6683 4204 13
6578 5283 6
5194 8038 14
1459 6385 6
9792 916 6
1332 4649 23
2441...

output:

2.491

result:

ok single line: '2.491'

Test #10:

score: 10
Accepted
time: 177ms
memory: 52908kb

input:

957 2500
2644 4029 0
1077 1568 0
1901 2614 1
3895 8310 3
7987 1879 2
8759 3373 1
6570 3145 2
8662 1687 1
4872 5639 4
8518 2727 6
2547 4542 8
4114 566 9
3080 3720 6
1389 4224 8
3268 6571 0
2992 780 2
2489 2026 9
4175 2819 11
6166 6377 18
8892 8915 10
9785 6057 7
350 2195 9
4069 9409 13
4644 4875 22
1...

output:

1.805

result:

ok single line: '1.805'