QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#418872 | #3297. 国王饮水记 | DitaMirika | 95 | 851ms | 213288kb | C++23 | 14.5kb | 2024-05-23 16:15:21 | 2024-05-23 16:15:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 5
Accepted
time: 15ms
memory: 213012kb
input:
2 1 5 276 70074
output:
35175.0000000000
result:
points 1.0 Correct.
Test #2:
score: 5
Accepted
time: 12ms
memory: 213072kb
input:
4 2 5 226 6661 87879 61028
output:
59253.000000
result:
points 1.0 Correct.
Test #3:
score: 5
Accepted
time: 8ms
memory: 213076kb
input:
4 5 5 688 61068 87439 35000
output:
63447.5000000000
result:
points 1.0 Correct.
Test #4:
score: 5
Accepted
time: 8ms
memory: 213080kb
input:
10 1 5 916 41527 88488 31815 77742 32612 54686 84884 36513 89880
output:
68382.000000
result:
points 1.0 Correct.
Test #5:
score: 5
Accepted
time: 7ms
memory: 213196kb
input:
10 1000000000 5 15 47378 44892 72585 92608 76254 8257 83620 72320 1532
output:
84663.5878906250
result:
points 1.0 Correct.
Test #6:
score: 5
Accepted
time: 23ms
memory: 213016kb
input:
9 2 5 1 5 29 39 44 46 87 88 91
output:
74.833333
result:
points 1.0 Correct.
Test #7:
score: 5
Accepted
time: 12ms
memory: 213008kb
input:
10 7 5 858 71725 48085 8186 23583 4490 21271 1143 33780 36720
output:
55724.984375
result:
points 1.0 Correct.
Test #8:
score: 5
Accepted
time: 15ms
memory: 213044kb
input:
100 1 5 369 40350 97352 29226 42558 59153 64077 43931 26686 8683 74092 86235 10758 41177 65509 83997 956 33125 10245 75221 58680 30743 61673 89156 88946 14859 19712 43533 90390 59231 66833 46895 65860 97373 51884 76552 61618 94579 75342 27345 88894 85632 27114 15625 33356 58190 13318 14886 5257 3677...
output:
87724.312500
result:
points 1.0 Correct.
Test #9:
score: 5
Accepted
time: 3ms
memory: 213008kb
input:
100 1000000000 40 378 53796 72891 87797 44808 68259 42312 98481 44621 13239 57709 27223 99058 2328 52967 35235 1432 64906 94139 70753 88701 23426 72512 21293 89470 6930 55904 46493 25487 94582 73156 49459 3580 80845 21 75925 19594 580 27059 49819 54120 63528 46632 17256 24259 40500 98268 44510 62612...
output:
98272.48518624759254653624321261502894832913568586026201054318615635274625219608424231
result:
points 1.0 Correct.
Test #10:
score: 5
Accepted
time: 23ms
memory: 213012kb
input:
85 3 40 2 7 14 23 56 69 77 78 79 115 116 125 126 138 163 164 174 175 187 193 202 216 222 228 245 251 253 254 256 273 284 289 308 331 332 336 337 339 352 379 380 385 435 439 450 482 495 511 527 559 566 581 599 601 624 679 691 693 731 743 766 771 796 822 839 843 859 870 893 910 919 937 947 951 965 981...
output:
1067.98809523809523809523809523809523809523809
result:
points 1.0 Correct.
Test #11:
score: 5
Accepted
time: 7ms
memory: 213228kb
input:
93 3 40 1 1775 4094 4320 5474 6016 6183 6432 8564 10556 10570 12363 14420 14688 18863 20859 22403 23800 24550 25836 27077 27552 29185 31452 32274 33446 35220 36840 38779 39222 41616 41751 42465 43059 43063 43066 44076 44473 45058 45293 46893 47503 48612 48986 50916 51486 52795 53041 53558 54511 5481...
output:
88372.42156862745098039215686274509803921568627
result:
points 1.0 Correct.
Test #12:
score: 5
Accepted
time: 24ms
memory: 213196kb
input:
100 79 40 390 73983 24350 8814 57191 8703 42818 86461 14168 64084 46522 4641 7451 32948 28890 42754 80825 65002 78530 9854 41896 98643 16620 86385 11070 81292 50988 7104 46370 8230 40245 5527 31276 43301 65650 60520 41409 87386 96963 44607 13741 82308 50693 94342 72690 69308 91582 30131 41400 36916 ...
output:
96953.12894399967655248441573506897998766957310
result:
points 1.0 Correct.
Test #13:
score: 5
Accepted
time: 74ms
memory: 213048kb
input:
250 202 100 466 12726 94995 42181 61551 26194 26295 18957 9565 30219 99075 1344 88601 54835 1031 38483 46390 57214 94355 30166 64058 65820 77846 89028 52081 46428 3550 36554 22414 52578 77796 78445 33182 42468 93635 73164 77982 41806 62569 16858 60126 59441 87804 76051 70504 88836 14158 78890 97112 ...
output:
99523.43347109670512266239087573521334804448809051267562767875849923402015176859705655880637090037348151040
result:
points 1.0 Correct.
Test #14:
score: 5
Accepted
time: 101ms
memory: 213288kb
input:
500 288 200 197 97022 61014 96674 96015 11353 78409 28523 2984 84682 48391 16372 62076 58434 75095 74614 91456 89680 17071 65245 17129 96721 23443 57080 49354 13647 22919 99098 12310 7704 32831 51529 98100 35419 38331 73077 60821 74439 27185 14363 12697 54465 59824 70830 61908 23392 74933 16849 5909...
output:
99563.015675853241410081890952276107476397972940416578833880275685560512931709882683181309203603427518131194036463216057790802946997268444315102441937181949067568832556233111223749993281323361298483188124574
result:
points 1.0 Correct.
Test #15:
score: 5
Accepted
time: 153ms
memory: 213020kb
input:
700 199 300 218 89496 23803 67392 25571 28864 29256 82243 10731 80518 10818 54427 30993 122 48615 97618 57421 51500 20359 87690 8657 28151 79289 2731 56280 52730 86159 54766 28814 76535 88455 88440 10148 30757 65593 94013 96739 49644 73813 96751 63746 11975 26083 40824 11091 95875 57064 15963 41153 ...
output:
99903.872911278562595856873829604017592284039215371123097620942311611085988915564496629247299310253555550889237499593071667125445669199096830802127730975688375422199295298556857384634592259923617045084635416666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666...
result:
points 1.0 Correct.
Test #16:
score: 5
Accepted
time: 153ms
memory: 213004kb
input:
700 16 300 672 60468 29689 9977 73129 91578 22070 65047 41333 81310 3576 78591 9788 26867 35990 70395 46845 48772 80460 41292 50604 71401 14 53730 8130 43580 76781 99659 52608 40777 84700 71341 79568 65940 10953 76621 90715 22199 80638 60956 80869 71173 37364 49127 3517 84835 12258 13859 86229 19859...
output:
99762.265742210105613425925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925925...
result:
points 1.0 Correct.
Test #17:
score: 5
Accepted
time: 156ms
memory: 213020kb
input:
700 371 300 113 74738 58329 40420 8396 45487 85270 24334 5764 89603 48388 4471 77540 96260 29787 98110 74190 17925 1658 48927 22023 86165 49061 91931 79891 57898 7096 85627 44643 87018 34207 60970 41121 40109 78008 48832 36645 27277 78984 73185 38224 23692 21163 73385 85283 46426 44906 91109 87128 5...
output:
99645.579718316071912869384663407326422580807270670565353159534100711336493571477114825525318325595630991860275412288707247886292540553963833343920230482017470630112580173856255863670529240222771558760272942154585141958210220319786371486791717397975258856804619282432435116708562591315607564270229688...
result:
points 1.0 Correct.
Test #18:
score: 5
Accepted
time: 549ms
memory: 213040kb
input:
2500 698 1000 471 65145 22981 31527 61463 17912 93154 98762 88954 85282 67970 48145 82925 63997 79972 14039 1947 13344 66726 74770 12070 30529 66514 3159 8464 30655 63943 1259 19551 38488 4914 46199 69583 59938 25646 26771 30352 98906 32061 45542 41565 76542 94290 53440 80683 78109 54067 26455 13617...
output:
99932.970000777785444690932734960670018393401399426765456537753595326887547256825631480382629269773608996392737797266182896783578444846341854602991768174912802779097908765106435371850889854339532735967581072414453566849395317435887155627407657330867244656016089511238395337989912917784737778482885998...
result:
points 1.0 Correct.
Test #19:
score: 5
Accepted
time: 851ms
memory: 213236kb
input:
4000 1080 1500 59 6975 82985 48996 64750 35468 80947 87430 20414 81207 76615 56337 97675 73260 64688 85302 59736 79466 97665 12372 66557 78844 81100 84882 37291 28982 32337 39720 34083 30645 25997 31232 62431 20586 9560 59434 6762 20626 87388 44083 74322 40543 21422 93604 30721 22662 33606 26272 746...
output:
99973.081617528538011087509423590366552409810629087334435102192555672785936741186839836352340105883639662424430096813324177552981811962075368618289345973374437124945851726531687741764019255071062537485972843129134188884300315446473766149852818787326013872368796845026595588543324922659038800438350229...
result:
points 1.0 Correct.
Test #20:
score: 0
Time Limit Exceeded
input:
8000 1259 3000 734 1497 58191 74822 44289 61274 13696 46410 69145 61280 43170 79691 89523 63252 63602 33131 31768 60692 6809 90757 87813 93136 73358 43535 209 74193 12966 61892 11304 38538 61313 28868 65357 62734 86194 10944 21726 7702 37604 77440 74922 51141 36006 75069 77917 22965 15212 61801 7916...