QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#351288 | #8266. Astronomer | Dec0Dedd# | 17 | 1083ms | 36112kb | C++14 | 2.0kb | 2024-03-11 19:56:21 | 2024-07-04 03:29:10 |
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
Subtask #1:
score: 8
Accepted
Test #1:
score: 8
Accepted
time: 0ms
memory: 3864kb
input:
5 50 100 10 83800992 -886133390 419292091 -739946592 23316601 -533703422 728805984 890308742 -66894195 66628784 154560403 -595148422 -827958439 928301296 849961738 946067907 310878751 -114000318 871656204 66733904 -791356839 125420374 -838471381 157736324 -911519472 -679917398 816843257 -363318953 -...
output:
4930145422.6525176303
result:
ok found '4930145422.6525173', expected '4930145422.6525173', error '0.0000000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
10 50 100 10 -793680088 284470669 115693879 -170843456 -154728667 217328790 907384174 843374520 253755807 -38186295 -381212540 -292308497 -867806770 -491743910 -913208139 289193728 195163552 -826028088 -877650578 -170991023 568907081 -881381181 -199872307 265851943 589436960 69367477 -611624975 1225...
output:
4803824081.6213348196
result:
ok found '4803824081.6213350', expected '4803824081.6213350', error '0.0000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
20 50 100 100 187033242 -158211473 423007364 -836894730 -907522970 960081589 -480988812 653654390 597700121 -67379126 -460065669 -241034985 913656927 -606901580 -200092163 -116008540 573697247 -406354383 317815409 37136086 -865167374 -612614868 -9287623 170008780 -819856 614614372 -709291610 -711283...
output:
63648024908.3917985037
result:
ok found '63648024908.3917999', expected '63648024908.3917999', error '0.0000000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
20 50 1000000000 1000000000 347048005 -530364556 -904966175 -633735536 396657069 818647482 569030381 446734190 -656658950 -638699736 253688651 -31470973 85886754 807760345 -248598849 -277622783 -64735947 66844493 -890915586 -244816739 -488396456 -969658430 664980418 -352719175 -960264172 611250021 4...
output:
704682191270371226.7500000000
result:
ok found '704682191270371200.0000000', expected '704682191270371200.0000000', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
10 50 10 2 0 -21855775 0 -15981466 0 -16102820 0 -7780900 0 74497379 0 -40221537 0 -89726059 0 52785260 0 86230474 0 70697695 0 -80396368 0 86433127 0 -22696494 0 -54630396 0 29917934 0 -5750238 0 30414580 0 -17223080 0 -41581695 0 13697626 0 64151962 0 -10413226 0 -24542977 0 -33200412 0 -66362775 ...
output:
31962932.0000000000
result:
ok found '31962932.0000000', expected '31962932.0000000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
10 50 20 3 -54614756 0 54949544 0 96550412 0 38271729 0 -35136806 0 -92782941 0 30777752 0 -82904205 0 4689998 0 -91407242 0 97692736 0 -7455904 0 -6467000 0 -2811702 0 -28270423 0 96066983 0 -52546488 0 21369820 0 52638665 0 62720370 0 44623271 0 72875104 0 57256607 0 -64867652 0 -19068967 0 142894...
output:
50675835.0000000000
result:
ok found '50675835.0000000', expected '50675835.0000000', error '0.0000000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
10 50 40 8 12345 -52897048 12345 -88342117 12345 -70698612 12345 59534976 12345 -10071874 12345 -46454456 12345 -8778454 12345 33361098 12345 45415305 12345 -20707863 12345 -35952217 12345 97544665 12345 -27016480 12345 -94696906 12345 92805171 12345 -23291640 12345 87319050 12345 -89851825 12345 64...
output:
165662933.4379022035
result:
ok found '165662933.4379022', expected '165662933.4379022', error '0.0000000'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
10 50 80 4 -66610775 54321 -51714569 54321 66822467 54321 -98768070 54321 -65322728 54321 87093234 54321 -46782416 54321 -83441680 54321 42037863 54321 42415504 54321 -80735005 54321 -45311373 54321 -52041933 54321 69039381 54321 74795305 54321 11699205 54321 62686218 54321 -97355638 54321 -82839140...
output:
145213750.5616131382
result:
ok found '145213750.5616131', expected '145213750.5616131', error '0.0000000'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
10 50 50 27 4043107 -4042907 7200519 -7200319 -6116699 6116899 -4124247 4124447 6438015 -6437815 -8254791 8254991 -1974217 1974417 7542063 -7541863 -1546732 1546932 -539320 539520 -5158206 5158406 1377811 -1377611 -7606954 7607154 1705751 -1705551 9238418 -9238218 -772806 773006 7984019 -7983819 -85...
output:
52606194.8318030127
result:
ok found '52606194.8318030', expected '52606194.8318030', error '0.0000000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
10 50 33 27 3711782 3711782 -2567030 -2567030 3945872 3945872 3622687 3622687 8906914 8906914 -9014274 -9014274 -5514887 -5514887 6198091 6198091 -1558344 -1558344 6281940 6281940 2751778 2751778 7991511 7991511 -6015675 -6015675 -2486513 -2486513 -9506702 -9506702 6962924 6962924 -2098352 -2098352 ...
output:
103995358.2068673775
result:
ok found '103995358.2068674', expected '103995358.2068674', error '0.0000000'
Test #11:
score: 0
Accepted
time: 1ms
memory: 3916kb
input:
50 499 100 10 -268214856 -800550919 411903188 -773971831 769567597 -734212705 -55581201 -530714034 835073201 -469918138 -367731605 691744277 844219796 994636033 -488959612 991190069 -588779840 21455475 66709215 657587786 518510010 -907735337 -306396571 -841924090 477919418 633359061 -616931925 43650...
output:
3297867943.0608030639
result:
ok found '3297867943.0608029', expected '3297867943.0608034', error '0.0000000'
Test #12:
score: 0
Accepted
time: 1ms
memory: 3920kb
input:
123 700 1 1 -130217424 130178396 983638709 951624594 -705968414 -584363904 13397284 -264504876 542587735 -308733346 -725129540 617076360 -297045783 -657399802 -419571135 -100163679 709956915 -100502349 685096022 110787513 -919031164 -115362050 -565393527 -644276267 -699150354 -350670646 829034378 -3...
output:
435190829.0812721642
result:
ok found '435190829.0812722', expected '435190829.0812722', error '0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
2 3 1000 500 0 0 2 0 3 1
output:
1000.0000000000
result:
ok found '1000.0000000', expected '1000.0000000', error '0.0000000'
Subtask #2:
score: 9
Accepted
Test #14:
score: 9
Accepted
time: 15ms
memory: 4020kb
input:
50 50 0 100 -636373727 151906670 -436420422 -967929931 -946894101 -648810265 -318412226 -368156635 608567780 -787997497 40618170 966479708 -451370311 -406325088 830840722 -678655131 -89071166 -21371001 60891837 -615893965 785687617 -623669416 -513873386 -653229486 -555272924 350850129 -901712781 -32...
output:
128592913281.7085563317
result:
ok found '128592913281.7085571', expected '128592913281.7085724', error '0.0000000'
Test #15:
score: 0
Accepted
time: 14ms
memory: 4012kb
input:
50 50 0 10 624464843 121500607 -206465305 -905385634 -765814246 -146012797 -557175099 -747718836 136180639 -169689168 -331428390 84078596 -690310101 739208848 -524036571 962734369 -765174210 -838357934 -969321787 284950000 755403064 -828757311 465804785 -169146067 222259850 582616485 505942901 59454...
output:
11644504812.3244086606
result:
ok found '11644504812.3244095', expected '11644504812.3244057', error '0.0000000'
Test #16:
score: 0
Accepted
time: 13ms
memory: 4012kb
input:
50 50 0 10 13328494 39038248 -554456314 609093086 369852928 -372339215 165892056 768625583 294273788 904888183 -494279905 -720924839 241356071 -753484597 -877352522 663261124 690942800 -852479432 426347566 -381783277 -59808929 -279431596 906503102 112199917 -109743903 -701106141 717966296 -728674526...
output:
11992823887.1499798931
result:
ok found '11992823887.1499805', expected '11992823887.1499786', error '0.0000000'
Test #17:
score: 0
Accepted
time: 11ms
memory: 4084kb
input:
50 50 0 100 -121587612 791174126 -125163976 -719412986 -407037515 -956245822 492803155 -317493695 -210080658 -39086682 -776432439 -934796497 985604379 -237203072 295029306 -336075564 -736744824 156771743 -105459969 308040089 -753379106 -739598927 899521584 -143473313 -381438827 -704518112 11687257 -...
output:
125295010396.1408346221
result:
ok found '125295010396.1408386', expected '125295010396.1407623', error '0.0000000'
Test #18:
score: 0
Accepted
time: 8ms
memory: 4032kb
input:
50 50 0 100 818353651 426069138 783546058 -787452456 590000951 -341867194 -660111503 -971706090 -861022666 -190425709 -524129330 242862802 -396453042 985871254 152158681 347688488 517182181 145923337 -119201923 -244725234 -424300110 345262868 522375286 -234016584 -394061788 -427361483 785883759 -790...
output:
126290914787.8511946872
result:
ok found '126290914787.8511963', expected '126290914787.8511353', error '0.0000000'
Test #19:
score: 0
Accepted
time: 11ms
memory: 3920kb
input:
50 50 0 1000000000 -929405805 -1096501 -590638646 -856552912 875588765 -222410459 157490234 -235422208 830143148 412624845 -703630977 -151249145 -642808888 -196683976 871674599 573406178 -248447624 80247784 -643993818 279311572 982755173 790130732 560659641 173240542 -586581095 283377018 -306924414 ...
output:
1195022249023873365.2500000000
result:
ok found '1195022249023873280.0000000', expected '1195022249023872768.0000000', error '0.0000000'
Test #20:
score: 0
Accepted
time: 16ms
memory: 4020kb
input:
50 50 0 2 0 69474256 0 57785761 0 32598039 0 -65299831 0 -3070853 0 84570631 0 31492570 0 64233030 0 79996478 0 85805700 0 -5437708 0 -64211008 0 83171956 0 50340312 0 28086532 0 -4612958 0 -16108181 0 10644005 0 91229400 0 40164386 0 81206026 0 20618946 0 25794990 0 58666350 0 -24678408 0 -38951299...
output:
187208626.0000000065
result:
ok found '187208626.0000000', expected '187208626.0000000', error '0.0000000'
Test #21:
score: 0
Accepted
time: 12ms
memory: 4012kb
input:
50 50 0 3 49638070 0 -526169 0 36358384 0 96149265 0 25863118 0 6493363 0 -735999 0 -45011107 0 48912966 0 -14421712 0 6099615 0 -1636303 0 2427806 0 61619014 0 22686754 0 -14018835 0 9578678 0 89352941 0 34474354 0 50331772 0 -19320513 0 60232383 0 -1387044 0 -11082509 0 -31790349 0 -80000090 0 297...
output:
269998347.0000001576
result:
ok found '269998347.0000002', expected '269998346.9999999', error '0.0000000'
Test #22:
score: 0
Accepted
time: 18ms
memory: 3940kb
input:
50 50 0 8 12345 88321800 12345 5490059 12345 91569196 12345 -34792827 12345 -20953347 12345 -57269097 12345 44584453 12345 -83441001 12345 -39347052 12345 -34711156 12345 -29656350 12345 65155514 12345 -1350143 12345 91623171 12345 -6636485 12345 58272933 12345 -53575026 12345 -44133649 12345 114549...
output:
765120212.0000002300
result:
ok found '765120212.0000002', expected '765120211.9999998', error '0.0000000'
Test #23:
score: 0
Accepted
time: 19ms
memory: 3988kb
input:
50 50 0 4 56635639 54321 91216242 54321 -33750459 54321 20057642 54321 59177729 54321 -68542496 54321 -39618754 54321 54306772 54321 62620107 54321 -49803082 54321 28527141 54321 -44531251 54321 61490295 54321 15526972 54321 66125519 54321 5329936 54321 80522082 54321 -36075407 54321 -58249932 54321...
output:
385391040.0000003928
result:
ok found '385391040.0000004', expected '385391039.9999999', error '0.0000000'
Test #24:
score: 0
Accepted
time: 14ms
memory: 4012kb
input:
50 50 0 27 5659465 -5659265 4355057 -4354857 1926691 -1926491 9196659 -9196459 -5120687 5120887 8209739 -8209539 5834906 -5834706 -3992273 3992473 840378 -840178 -5234539 5234739 -1146047 1146247 7360117 -7359917 9566722 -9566522 7398742 -7398542 5776782 -5776582 1691806 -1691606 -8228590 8228790 24...
output:
361329867.4229460488
result:
ok found '361329867.4229460', expected '361329867.4229442', error '0.0000000'
Test #25:
score: 0
Accepted
time: 10ms
memory: 4092kb
input:
45 45 0 1 896298 896298 2583359 2583359 -6999745 -6999745 -2118958 -2118958 5463860 5463860 -708259 -708259 -252935 -252935 5789419 5789419 -7305644 -7305644 5386961 5386961 3465011 3465011 -7150610 -7150610 -3939429 -3939429 -2449949 -2449949 -2402508 -2402508 -732374 -732374 -5534164 -5534164 1606...
output:
13049364.3188040777
result:
ok found '13049364.3188041', expected '13049364.3188039', error '0.0000000'
Test #26:
score: 0
Accepted
time: 4ms
memory: 4004kb
input:
10 50 0 100 -222285553 -571951868 236047560 -819906819 853272222 -568449145 -823328821 -768902399 485767832 338537816 944446083 -233063604 -430711925 -947389421 533571673 11511286 -108740827 86860117 999150321 343089333 443617019 -219595193 -758856996 -225675622 -381877392 75165695 -145765181 849875...
output:
28547241090.7428681962
result:
ok found '28547241090.7428665', expected '28547241090.7428627', error '0.0000000'
Test #27:
score: 0
Accepted
time: 2ms
memory: 3996kb
input:
5 50 0 10 -444972733 446579858 -695656132 -207885635 -404893025 -44512284 994118196 289401710 -525204519 -895423078 727536603 936928026 401679635 514734394 -705988320 565379946 -694855557 -653965563 -960646097 136941132 216355109 -875763551 106897311 -646182944 141516047 -383574100 -758077775 145794...
output:
1271694387.9476061941
result:
ok found '1271694387.9476061', expected '1271694387.9476032', error '0.0000000'
Test #28:
score: 0
Accepted
time: 12ms
memory: 4140kb
input:
25 50 0 10 894247111 -940639593 -962385423 473831711 660236553 82720610 -151762198 -964726393 509767717 909183573 709849537 631361313 -933898377 832789419 741042134 883414447 -891700642 592824318 -214933574 -499072827 734108883 -204240193 491983693 439303682 -74146402 -128472338 -936307328 -73104215...
output:
7140770847.1597558185
result:
ok found '7140770847.1597557', expected '7140770847.1597528', error '0.0000000'
Test #29:
score: 0
Accepted
time: 8ms
memory: 3932kb
input:
48 50 0 100 331512901 773023833 -253952847 -901676275 306776946 917757415 620918598 -842164231 -823355099 150121756 -794497591 -33527010 552606597 -988076453 627991902 -747503340 -853938474 801894307 239601990 -102627919 477695584 944930281 140803988 -46877020 -399182750 -604465550 829553847 8374858...
output:
116437948354.2874686196
result:
ok found '116437948354.2874756', expected '116437948354.2874298', error '0.0000000'
Test #30:
score: 0
Accepted
time: 11ms
memory: 4004kb
input:
31 50 0 100 667290392 159713806 -484825908 -844605177 818731692 -330354297 29638368 -146487735 -409143738 -286605374 -918120411 566799177 -794269081 431440442 916070665 486453404 -139914136 795466045 -530547565 -578144871 -534334385 -532153668 -992020020 847285074 523254484 704865413 -644468236 -410...
output:
83122856381.5499975085
result:
ok found '83122856381.5500031', expected '83122856381.5499878', error '0.0000000'
Test #31:
score: 0
Accepted
time: 13ms
memory: 4032kb
input:
31 50 0 1000000000 -689527449 137534568 983936167 -952253448 688684937 -143891103 167265774 519608941 579776295 -880920584 -616065580 -421250532 552884348 598066322 -846110162 711575243 -228386137 -275653313 405372991 875883787 -220003688 -768871476 518237661 -184053364 -639373569 -327715756 4857224...
output:
801900017691791313.2500000000
result:
ok found '801900017691791360.0000000', expected '801900017691791232.0000000', error '0.0000000'
Test #32:
score: 0
Accepted
time: 4ms
memory: 4080kb
input:
12 50 0 2 0 28048104 0 -8467471 0 -41651666 0 67025876 0 58231311 0 -74994292 0 36648393 0 1108601 0 -70275425 0 96664743 0 77557995 0 -25316817 0 -2275083 0 92922931 0 205895 0 43012349 0 16079122 0 89438956 0 18308627 0 22248348 0 -95771409 0 13022944 0 20272985 0 -83972086 0 12147531 0 -76915869 ...
output:
21139747.0000003647
result:
ok found '21139747.0000004', expected '21139747.0000000', error '0.0000000'
Test #33:
score: 0
Accepted
time: 0ms
memory: 4152kb
input:
4 50 0 3 -2545689 0 32206247 0 70368571 0 6386506 0 48946011 0 -81365301 0 32148631 0 -13640445 0 48115547 0 22319006 0 63601682 0 12328749 0 -36317224 0 80472355 0 -79660751 0 36532080 0 22808040 0 32986758 0 -812061 0 -12699128 0 96005645 0 -30965359 0 -98005397 0 84378318 0 29206018 0 15447910 0 ...
output:
2827725.0000005236
result:
ok found '2827725.0000005', expected '2827725.0000000', error '0.0000000'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
1 50 0 8 12345 -18063270 12345 -51204222 12345 30282753 12345 19061622 12345 -90245144 12345 -45667640 12345 59274033 12345 68647922 12345 -94251557 12345 -56450113 12345 57375149 12345 95230279 12345 98648706 12345 62944363 12345 76699917 12345 -59649858 12345 -46983277 12345 -1688007 12345 3716138...
output:
0
result:
ok found '0.0000000', expected '0.0000000', error '0.0000000'
Test #35:
score: 0
Accepted
time: 1ms
memory: 4000kb
input:
2 50 0 4 73679274 54321 -30213595 54321 -60842856 54321 94397588 54321 -31544032 54321 31145700 54321 -12618413 54321 69436170 54321 28711063 54321 51372127 54321 -3237903 54321 -54488492 54321 47884427 54321 8722758 54321 60922531 54321 -16836728 54321 53144703 54321 95012090 54321 17063930 54321 -...
output:
14900.0000003105
result:
ok found '14900.0000003', expected '14900.0000000', error '0.0000000'
Test #36:
score: 0
Accepted
time: 4ms
memory: 4084kb
input:
10 50 0 27 8833823 -8833623 -3516431 3516631 -1022564 1022764 -244536 244736 6040834 -6040634 -7914062 7914262 9927079 -9926879 -3185055 3185255 -1867959 1868159 8892774 -8892574 -8008875 8009075 -7312401 7312601 -7246070 7246270 -7182663 7182863 -7410705 7410905 -8140194 8140394 3369170 -3368970 -6...
output:
40952165.5999540209
result:
ok found '40952165.5999540', expected '40952165.5999512', error '0.0000000'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
10 50 0 1 5444242 5444242 1679613 1679613 -7595462 -7595462 -2329548 -2329548 -7145966 -7145966 1835166 1835166 -7950294 -7950294 -6924447 -6924447 -5399161 -5399161 1021117 1021117 3922212 3922212 2048718 2048718 7171012 7171012 -8308445 -8308445 -8280052 -8280052 -1962385 -1962385 9346455 9346455 ...
output:
1138727.5888499835
result:
ok found '1138727.5888500', expected '1138727.5888499', error '0.0000000'
Test #38:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
4 18 0 11 893528470 449006362 893528463 449006315 893528420 449006364 904579443 426304914 904579357 426304847 904579361 426304859 977330852 -211717250 977330882 -211717296 977330873 -211717264 -115897033 993261129 -115897056 993261109 -115897097 993261163 114420080 993432302 114420087 993432336 1144...
output:
135588756.6984481131
result:
ok found '135588756.6984481', expected '135588756.6984462', error '0.0000000'
Test #39:
score: 0
Accepted
time: 1ms
memory: 3980kb
input:
4 18 0 11 404142153 -914696239 404142178 -914696203 404142138 -914696219 946396226 323007678 946396162 323007628 946396208 323007651 -605012276 -796216326 -605012297 -796216373 -605012298 -796216375 809081973 587695575 809081966 587695523 809081940 587695575 -344069107 938944290 -344069103 938944233...
output:
1640022815.9564340246
result:
ok found '1640022815.9564340', expected '1640022815.9564323', error '0.0000000'
Test #40:
score: 0
Accepted
time: 1ms
memory: 4016kb
input:
5 50 0 1 -774708218 -224515921 -678483878 -509443435 512238540 -496443672 47318378 -582071369 585213517 -548867480 -154867182 -169634363 -961699571 -445427539 -835307233 -76527352 8968609 -230976663 -287790912 -982348346 489447395 228101323 515908805 -158856837 -280991788 -510699726 515908806 -15885...
output:
56010912.1001547365
result:
ok found '56010912.1001547', expected '56010912.1001546', error '0.0000000'
Test #41:
score: 0
Accepted
time: 2ms
memory: 4080kb
input:
5 50 0 100 151652527 8682415 681776376 -433300417 -46970997 85052752 90898047 -164611216 -162153747 -104588949 -127563388 -569543221 -209912512 -442019097 565324510 -465754174 954155029 -589645730 385779215 -32047296 -602395767 219054820 -133265782 115312659 -68726638 923877145 515908805 -158856837 ...
output:
9084928507.7095011044
result:
ok found '9084928507.7095013', expected '9084928507.7094860', error '0.0000000'
Test #42:
score: 0
Accepted
time: 2ms
memory: 4080kb
input:
10 50 0 100 -131331792 41553200 -987028164 -163873146 655780327 -808387394 723685091 342960165 -219782033 105505246 76768284 -564863178 268362621 -367827473 515908807 -158856836 496905781 -995842163 129412638 272642325 515908805 -158856837 -212155166 -221612727 515908806 -158856838 507046683 4818197...
output:
7505922188.2558049839
result:
ok found '7505922188.2558050', expected '7505922188.2557812', error '0.0000000'
Test #43:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
20 50 0 100 777457773 -173825428 -467943169 -885513770 593643761 522684993 -706627906 -148433271 515908808 -158856837 -6615455 -398735329 515908807 -158856836 -382454394 579255355 -36302268 -245116085 692880911 601380903 -927086647 341996129 -295174106 -572456264 997905310 965359435 515908806 -15885...
output:
16710045866.2254331578
result:
ok found '16710045866.2254333', expected '16710045866.2254219', error '0.0000000'
Test #44:
score: 0
Accepted
time: 5ms
memory: 4084kb
input:
20 50 0 1000000000 -590690709 948839762 29084346 -621240804 -585707394 321408048 189035488 530819305 -633336208 590857140 193003233 -198784969 515908808 -158856837 -732036813 653873631 378019314 -473012352 515908807 -158856836 -22039016 478629783 256991914 -642494287 515908806 -158856835 515908805 -...
output:
268279894987760508.5312500000
result:
ok found '268279894987760512.0000000', expected '268279894987760320.0000000', error '0.0000000'
Test #45:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
2 3 0 500 0 0 2 0 3 1
output:
353.5534495377
result:
ok found '353.5534495', expected '353.5533906', error '0.0000002'
Subtask #3:
score: 0
Time Limit Exceeded
Dependency #2:
100%
Accepted
Test #46:
score: 18
Accepted
time: 15ms
memory: 3944kb
input:
50 50 0 100 -636373727 151906670 -436420422 -967929931 -946894101 -648810265 -318412226 -368156635 608567780 -787997497 40618170 966479708 -451370311 -406325088 830840722 -678655131 -89071166 -21371001 60891837 -615893965 785687617 -623669416 -513873386 -653229486 -555272924 350850129 -901712781 -32...
output:
128592913281.7085563317
result:
ok found '128592913281.7085571', expected '128592913281.7085724', error '0.0000000'
Test #47:
score: 0
Accepted
time: 11ms
memory: 4000kb
input:
50 50 0 10 624464843 121500607 -206465305 -905385634 -765814246 -146012797 -557175099 -747718836 136180639 -169689168 -331428390 84078596 -690310101 739208848 -524036571 962734369 -765174210 -838357934 -969321787 284950000 755403064 -828757311 465804785 -169146067 222259850 582616485 505942901 59454...
output:
11644504812.3244086606
result:
ok found '11644504812.3244095', expected '11644504812.3244057', error '0.0000000'
Test #48:
score: 0
Accepted
time: 13ms
memory: 4084kb
input:
50 50 0 10 13328494 39038248 -554456314 609093086 369852928 -372339215 165892056 768625583 294273788 904888183 -494279905 -720924839 241356071 -753484597 -877352522 663261124 690942800 -852479432 426347566 -381783277 -59808929 -279431596 906503102 112199917 -109743903 -701106141 717966296 -728674526...
output:
11992823887.1499798931
result:
ok found '11992823887.1499805', expected '11992823887.1499786', error '0.0000000'
Test #49:
score: 0
Accepted
time: 11ms
memory: 3948kb
input:
50 50 0 100 -121587612 791174126 -125163976 -719412986 -407037515 -956245822 492803155 -317493695 -210080658 -39086682 -776432439 -934796497 985604379 -237203072 295029306 -336075564 -736744824 156771743 -105459969 308040089 -753379106 -739598927 899521584 -143473313 -381438827 -704518112 11687257 -...
output:
125295010396.1408346221
result:
ok found '125295010396.1408386', expected '125295010396.1407623', error '0.0000000'
Test #50:
score: 0
Accepted
time: 6ms
memory: 4088kb
input:
50 50 0 100 818353651 426069138 783546058 -787452456 590000951 -341867194 -660111503 -971706090 -861022666 -190425709 -524129330 242862802 -396453042 985871254 152158681 347688488 517182181 145923337 -119201923 -244725234 -424300110 345262868 522375286 -234016584 -394061788 -427361483 785883759 -790...
output:
126290914787.8511946872
result:
ok found '126290914787.8511963', expected '126290914787.8511353', error '0.0000000'
Test #51:
score: 0
Accepted
time: 15ms
memory: 4004kb
input:
50 50 0 1000000000 -929405805 -1096501 -590638646 -856552912 875588765 -222410459 157490234 -235422208 830143148 412624845 -703630977 -151249145 -642808888 -196683976 871674599 573406178 -248447624 80247784 -643993818 279311572 982755173 790130732 560659641 173240542 -586581095 283377018 -306924414 ...
output:
1195022249023873365.2500000000
result:
ok found '1195022249023873280.0000000', expected '1195022249023872768.0000000', error '0.0000000'
Test #52:
score: 0
Accepted
time: 12ms
memory: 4024kb
input:
50 50 0 2 0 69474256 0 57785761 0 32598039 0 -65299831 0 -3070853 0 84570631 0 31492570 0 64233030 0 79996478 0 85805700 0 -5437708 0 -64211008 0 83171956 0 50340312 0 28086532 0 -4612958 0 -16108181 0 10644005 0 91229400 0 40164386 0 81206026 0 20618946 0 25794990 0 58666350 0 -24678408 0 -38951299...
output:
187208626.0000000065
result:
ok found '187208626.0000000', expected '187208626.0000000', error '0.0000000'
Test #53:
score: 0
Accepted
time: 12ms
memory: 4000kb
input:
50 50 0 3 49638070 0 -526169 0 36358384 0 96149265 0 25863118 0 6493363 0 -735999 0 -45011107 0 48912966 0 -14421712 0 6099615 0 -1636303 0 2427806 0 61619014 0 22686754 0 -14018835 0 9578678 0 89352941 0 34474354 0 50331772 0 -19320513 0 60232383 0 -1387044 0 -11082509 0 -31790349 0 -80000090 0 297...
output:
269998347.0000001576
result:
ok found '269998347.0000002', expected '269998346.9999999', error '0.0000000'
Test #54:
score: 0
Accepted
time: 14ms
memory: 4020kb
input:
50 50 0 8 12345 88321800 12345 5490059 12345 91569196 12345 -34792827 12345 -20953347 12345 -57269097 12345 44584453 12345 -83441001 12345 -39347052 12345 -34711156 12345 -29656350 12345 65155514 12345 -1350143 12345 91623171 12345 -6636485 12345 58272933 12345 -53575026 12345 -44133649 12345 114549...
output:
765120212.0000002300
result:
ok found '765120212.0000002', expected '765120211.9999998', error '0.0000000'
Test #55:
score: 0
Accepted
time: 19ms
memory: 3936kb
input:
50 50 0 4 56635639 54321 91216242 54321 -33750459 54321 20057642 54321 59177729 54321 -68542496 54321 -39618754 54321 54306772 54321 62620107 54321 -49803082 54321 28527141 54321 -44531251 54321 61490295 54321 15526972 54321 66125519 54321 5329936 54321 80522082 54321 -36075407 54321 -58249932 54321...
output:
385391040.0000003928
result:
ok found '385391040.0000004', expected '385391039.9999999', error '0.0000000'
Test #56:
score: 0
Accepted
time: 14ms
memory: 3940kb
input:
50 50 0 27 5659465 -5659265 4355057 -4354857 1926691 -1926491 9196659 -9196459 -5120687 5120887 8209739 -8209539 5834906 -5834706 -3992273 3992473 840378 -840178 -5234539 5234739 -1146047 1146247 7360117 -7359917 9566722 -9566522 7398742 -7398542 5776782 -5776582 1691806 -1691606 -8228590 8228790 24...
output:
361329867.4229460488
result:
ok found '361329867.4229460', expected '361329867.4229442', error '0.0000000'
Test #57:
score: 0
Accepted
time: 14ms
memory: 4000kb
input:
45 45 0 1 896298 896298 2583359 2583359 -6999745 -6999745 -2118958 -2118958 5463860 5463860 -708259 -708259 -252935 -252935 5789419 5789419 -7305644 -7305644 5386961 5386961 3465011 3465011 -7150610 -7150610 -3939429 -3939429 -2449949 -2449949 -2402508 -2402508 -732374 -732374 -5534164 -5534164 1606...
output:
13049364.3188040777
result:
ok found '13049364.3188041', expected '13049364.3188039', error '0.0000000'
Test #58:
score: 0
Accepted
time: 4ms
memory: 4012kb
input:
10 50 0 100 -222285553 -571951868 236047560 -819906819 853272222 -568449145 -823328821 -768902399 485767832 338537816 944446083 -233063604 -430711925 -947389421 533571673 11511286 -108740827 86860117 999150321 343089333 443617019 -219595193 -758856996 -225675622 -381877392 75165695 -145765181 849875...
output:
28547241090.7428681962
result:
ok found '28547241090.7428665', expected '28547241090.7428627', error '0.0000000'
Test #59:
score: 0
Accepted
time: 2ms
memory: 4064kb
input:
5 50 0 10 -444972733 446579858 -695656132 -207885635 -404893025 -44512284 994118196 289401710 -525204519 -895423078 727536603 936928026 401679635 514734394 -705988320 565379946 -694855557 -653965563 -960646097 136941132 216355109 -875763551 106897311 -646182944 141516047 -383574100 -758077775 145794...
output:
1271694387.9476061941
result:
ok found '1271694387.9476061', expected '1271694387.9476032', error '0.0000000'
Test #60:
score: 0
Accepted
time: 12ms
memory: 4152kb
input:
25 50 0 10 894247111 -940639593 -962385423 473831711 660236553 82720610 -151762198 -964726393 509767717 909183573 709849537 631361313 -933898377 832789419 741042134 883414447 -891700642 592824318 -214933574 -499072827 734108883 -204240193 491983693 439303682 -74146402 -128472338 -936307328 -73104215...
output:
7140770847.1597558185
result:
ok found '7140770847.1597557', expected '7140770847.1597528', error '0.0000000'
Test #61:
score: 0
Accepted
time: 13ms
memory: 3988kb
input:
48 50 0 100 331512901 773023833 -253952847 -901676275 306776946 917757415 620918598 -842164231 -823355099 150121756 -794497591 -33527010 552606597 -988076453 627991902 -747503340 -853938474 801894307 239601990 -102627919 477695584 944930281 140803988 -46877020 -399182750 -604465550 829553847 8374858...
output:
116437948354.2874686196
result:
ok found '116437948354.2874756', expected '116437948354.2874298', error '0.0000000'
Test #62:
score: 0
Accepted
time: 11ms
memory: 4000kb
input:
31 50 0 100 667290392 159713806 -484825908 -844605177 818731692 -330354297 29638368 -146487735 -409143738 -286605374 -918120411 566799177 -794269081 431440442 916070665 486453404 -139914136 795466045 -530547565 -578144871 -534334385 -532153668 -992020020 847285074 523254484 704865413 -644468236 -410...
output:
83122856381.5499975085
result:
ok found '83122856381.5500031', expected '83122856381.5499878', error '0.0000000'
Test #63:
score: 0
Accepted
time: 13ms
memory: 3944kb
input:
31 50 0 1000000000 -689527449 137534568 983936167 -952253448 688684937 -143891103 167265774 519608941 579776295 -880920584 -616065580 -421250532 552884348 598066322 -846110162 711575243 -228386137 -275653313 405372991 875883787 -220003688 -768871476 518237661 -184053364 -639373569 -327715756 4857224...
output:
801900017691791313.2500000000
result:
ok found '801900017691791360.0000000', expected '801900017691791232.0000000', error '0.0000000'
Test #64:
score: 0
Accepted
time: 4ms
memory: 4140kb
input:
12 50 0 2 0 28048104 0 -8467471 0 -41651666 0 67025876 0 58231311 0 -74994292 0 36648393 0 1108601 0 -70275425 0 96664743 0 77557995 0 -25316817 0 -2275083 0 92922931 0 205895 0 43012349 0 16079122 0 89438956 0 18308627 0 22248348 0 -95771409 0 13022944 0 20272985 0 -83972086 0 12147531 0 -76915869 ...
output:
21139747.0000003647
result:
ok found '21139747.0000004', expected '21139747.0000000', error '0.0000000'
Test #65:
score: 0
Accepted
time: 2ms
memory: 4064kb
input:
4 50 0 3 -2545689 0 32206247 0 70368571 0 6386506 0 48946011 0 -81365301 0 32148631 0 -13640445 0 48115547 0 22319006 0 63601682 0 12328749 0 -36317224 0 80472355 0 -79660751 0 36532080 0 22808040 0 32986758 0 -812061 0 -12699128 0 96005645 0 -30965359 0 -98005397 0 84378318 0 29206018 0 15447910 0 ...
output:
2827725.0000005236
result:
ok found '2827725.0000005', expected '2827725.0000000', error '0.0000000'
Test #66:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
1 50 0 8 12345 -18063270 12345 -51204222 12345 30282753 12345 19061622 12345 -90245144 12345 -45667640 12345 59274033 12345 68647922 12345 -94251557 12345 -56450113 12345 57375149 12345 95230279 12345 98648706 12345 62944363 12345 76699917 12345 -59649858 12345 -46983277 12345 -1688007 12345 3716138...
output:
0
result:
ok found '0.0000000', expected '0.0000000', error '0.0000000'
Test #67:
score: 0
Accepted
time: 2ms
memory: 3944kb
input:
2 50 0 4 73679274 54321 -30213595 54321 -60842856 54321 94397588 54321 -31544032 54321 31145700 54321 -12618413 54321 69436170 54321 28711063 54321 51372127 54321 -3237903 54321 -54488492 54321 47884427 54321 8722758 54321 60922531 54321 -16836728 54321 53144703 54321 95012090 54321 17063930 54321 -...
output:
14900.0000003105
result:
ok found '14900.0000003', expected '14900.0000000', error '0.0000000'
Test #68:
score: 0
Accepted
time: 4ms
memory: 4028kb
input:
10 50 0 27 8833823 -8833623 -3516431 3516631 -1022564 1022764 -244536 244736 6040834 -6040634 -7914062 7914262 9927079 -9926879 -3185055 3185255 -1867959 1868159 8892774 -8892574 -8008875 8009075 -7312401 7312601 -7246070 7246270 -7182663 7182863 -7410705 7410905 -8140194 8140394 3369170 -3368970 -6...
output:
40952165.5999540209
result:
ok found '40952165.5999540', expected '40952165.5999512', error '0.0000000'
Test #69:
score: 0
Accepted
time: 3ms
memory: 3948kb
input:
10 50 0 1 5444242 5444242 1679613 1679613 -7595462 -7595462 -2329548 -2329548 -7145966 -7145966 1835166 1835166 -7950294 -7950294 -6924447 -6924447 -5399161 -5399161 1021117 1021117 3922212 3922212 2048718 2048718 7171012 7171012 -8308445 -8308445 -8280052 -8280052 -1962385 -1962385 9346455 9346455 ...
output:
1138727.5888499835
result:
ok found '1138727.5888500', expected '1138727.5888499', error '0.0000000'
Test #70:
score: 0
Accepted
time: 1ms
memory: 3884kb
input:
4 18 0 11 893528470 449006362 893528463 449006315 893528420 449006364 904579443 426304914 904579357 426304847 904579361 426304859 977330852 -211717250 977330882 -211717296 977330873 -211717264 -115897033 993261129 -115897056 993261109 -115897097 993261163 114420080 993432302 114420087 993432336 1144...
output:
135588756.6984481131
result:
ok found '135588756.6984481', expected '135588756.6984462', error '0.0000000'
Test #71:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
4 18 0 11 404142153 -914696239 404142178 -914696203 404142138 -914696219 946396226 323007678 946396162 323007628 946396208 323007651 -605012276 -796216326 -605012297 -796216373 -605012298 -796216375 809081973 587695575 809081966 587695523 809081940 587695575 -344069107 938944290 -344069103 938944233...
output:
1640022815.9564340246
result:
ok found '1640022815.9564340', expected '1640022815.9564323', error '0.0000000'
Test #72:
score: 0
Accepted
time: 1ms
memory: 3992kb
input:
5 50 0 1 -774708218 -224515921 -678483878 -509443435 512238540 -496443672 47318378 -582071369 585213517 -548867480 -154867182 -169634363 -961699571 -445427539 -835307233 -76527352 8968609 -230976663 -287790912 -982348346 489447395 228101323 515908805 -158856837 -280991788 -510699726 515908806 -15885...
output:
56010912.1001547365
result:
ok found '56010912.1001547', expected '56010912.1001546', error '0.0000000'
Test #73:
score: 0
Accepted
time: 2ms
memory: 4008kb
input:
5 50 0 100 151652527 8682415 681776376 -433300417 -46970997 85052752 90898047 -164611216 -162153747 -104588949 -127563388 -569543221 -209912512 -442019097 565324510 -465754174 954155029 -589645730 385779215 -32047296 -602395767 219054820 -133265782 115312659 -68726638 923877145 515908805 -158856837 ...
output:
9084928507.7095011044
result:
ok found '9084928507.7095013', expected '9084928507.7094860', error '0.0000000'
Test #74:
score: 0
Accepted
time: 2ms
memory: 4064kb
input:
10 50 0 100 -131331792 41553200 -987028164 -163873146 655780327 -808387394 723685091 342960165 -219782033 105505246 76768284 -564863178 268362621 -367827473 515908807 -158856836 496905781 -995842163 129412638 272642325 515908805 -158856837 -212155166 -221612727 515908806 -158856838 507046683 4818197...
output:
7505922188.2558049839
result:
ok found '7505922188.2558050', expected '7505922188.2557812', error '0.0000000'
Test #75:
score: 0
Accepted
time: 0ms
memory: 4032kb
input:
20 50 0 100 777457773 -173825428 -467943169 -885513770 593643761 522684993 -706627906 -148433271 515908808 -158856837 -6615455 -398735329 515908807 -158856836 -382454394 579255355 -36302268 -245116085 692880911 601380903 -927086647 341996129 -295174106 -572456264 997905310 965359435 515908806 -15885...
output:
16710045866.2254331578
result:
ok found '16710045866.2254333', expected '16710045866.2254219', error '0.0000000'
Test #76:
score: 0
Accepted
time: 5ms
memory: 4008kb
input:
20 50 0 1000000000 -590690709 948839762 29084346 -621240804 -585707394 321408048 189035488 530819305 -633336208 590857140 193003233 -198784969 515908808 -158856837 -732036813 653873631 378019314 -473012352 515908807 -158856836 -22039016 478629783 256991914 -642494287 515908806 -158856835 515908805 -...
output:
268279894987760508.5312500000
result:
ok found '268279894987760512.0000000', expected '268279894987760320.0000000', error '0.0000000'
Test #77:
score: 0
Accepted
time: 167ms
memory: 36112kb
input:
5 700 0 10 702658729 11135512 -124010709 -600645971 942200188 -649105757 744484963 763044799 -974446068 584921074 574018251 -75983468 105361021 -738848581 188022072 -784233312 923981512 585711185 176663777 464773245 104131733 -666283396 -917887477 -283162533 986702632 -168634039 -848199891 571540004...
output:
246554276.4162409820
result:
ok found '246554276.4162410', expected '246554276.4162394', error '0.0000000'
Test #78:
score: 0
Accepted
time: 319ms
memory: 35388kb
input:
10 700 0 10 52007610 626362142 630156188 -909721284 -883173214 992428504 -639720269 -873948866 664734623 -434975359 -77332405 -619121282 271107520 -191972058 526949269 891860523 -341396557 -189238602 -897465230 952625062 -157365512 -670910719 867952368 44097972 953246956 30823085 -791793279 94837944...
output:
502116671.8018098621
result:
ok found '502116671.8018098', expected '502116671.8018088', error '0.0000000'
Test #79:
score: 0
Accepted
time: 1083ms
memory: 34928kb
input:
20 700 0 100 207353461 -342629807 -561037800 657644623 -133561182 149864393 110266914 -691052598 332358107 -178669730 -949162647 -779217669 992498178 -266078500 -774093863 473141153 -201563198 776035286 521029886 -389779969 234875348 513013100 -562678778 242588178 -323061552 323588455 367594110 5017...
output:
12138980935.0441009114
result:
ok found '12138980935.0441017', expected '12138980935.0441036', error '0.0000000'
Test #80:
score: -18
Time Limit Exceeded
input:
40 700 0 10 386423852 238928607 -856222812 822017504 690047169 1458425 100359659 414798236 902205235 -570013273 -406376188 -377459541 56640093 938194892 868324917 -300170096 897693724 854388874 378873092 137683070 234942067 -805058730 717732543 516362410 -354485068 -467623889 -544751755 688284453 98...
output:
result:
Subtask #4:
score: 0
Wrong Answer
Dependency #2:
100%
Accepted
Test #95:
score: 13
Accepted
time: 7ms
memory: 4020kb
input:
50 50 0 100 -636373727 151906670 -436420422 -967929931 -946894101 -648810265 -318412226 -368156635 608567780 -787997497 40618170 966479708 -451370311 -406325088 830840722 -678655131 -89071166 -21371001 60891837 -615893965 785687617 -623669416 -513873386 -653229486 -555272924 350850129 -901712781 -32...
output:
128592913281.7085563317
result:
ok found '128592913281.7085571', expected '128592913281.7085724', error '0.0000000'
Test #96:
score: 0
Accepted
time: 14ms
memory: 4016kb
input:
50 50 0 10 624464843 121500607 -206465305 -905385634 -765814246 -146012797 -557175099 -747718836 136180639 -169689168 -331428390 84078596 -690310101 739208848 -524036571 962734369 -765174210 -838357934 -969321787 284950000 755403064 -828757311 465804785 -169146067 222259850 582616485 505942901 59454...
output:
11644504812.3244086606
result:
ok found '11644504812.3244095', expected '11644504812.3244057', error '0.0000000'
Test #97:
score: 0
Accepted
time: 13ms
memory: 3948kb
input:
50 50 0 10 13328494 39038248 -554456314 609093086 369852928 -372339215 165892056 768625583 294273788 904888183 -494279905 -720924839 241356071 -753484597 -877352522 663261124 690942800 -852479432 426347566 -381783277 -59808929 -279431596 906503102 112199917 -109743903 -701106141 717966296 -728674526...
output:
11992823887.1499798931
result:
ok found '11992823887.1499805', expected '11992823887.1499786', error '0.0000000'
Test #98:
score: 0
Accepted
time: 9ms
memory: 4000kb
input:
50 50 0 100 -121587612 791174126 -125163976 -719412986 -407037515 -956245822 492803155 -317493695 -210080658 -39086682 -776432439 -934796497 985604379 -237203072 295029306 -336075564 -736744824 156771743 -105459969 308040089 -753379106 -739598927 899521584 -143473313 -381438827 -704518112 11687257 -...
output:
125295010396.1408346221
result:
ok found '125295010396.1408386', expected '125295010396.1407623', error '0.0000000'
Test #99:
score: 0
Accepted
time: 12ms
memory: 3944kb
input:
50 50 0 100 818353651 426069138 783546058 -787452456 590000951 -341867194 -660111503 -971706090 -861022666 -190425709 -524129330 242862802 -396453042 985871254 152158681 347688488 517182181 145923337 -119201923 -244725234 -424300110 345262868 522375286 -234016584 -394061788 -427361483 785883759 -790...
output:
126290914787.8511946872
result:
ok found '126290914787.8511963', expected '126290914787.8511353', error '0.0000000'
Test #100:
score: 0
Accepted
time: 15ms
memory: 3988kb
input:
50 50 0 1000000000 -929405805 -1096501 -590638646 -856552912 875588765 -222410459 157490234 -235422208 830143148 412624845 -703630977 -151249145 -642808888 -196683976 871674599 573406178 -248447624 80247784 -643993818 279311572 982755173 790130732 560659641 173240542 -586581095 283377018 -306924414 ...
output:
1195022249023873365.2500000000
result:
ok found '1195022249023873280.0000000', expected '1195022249023872768.0000000', error '0.0000000'
Test #101:
score: 0
Accepted
time: 17ms
memory: 3944kb
input:
50 50 0 2 0 69474256 0 57785761 0 32598039 0 -65299831 0 -3070853 0 84570631 0 31492570 0 64233030 0 79996478 0 85805700 0 -5437708 0 -64211008 0 83171956 0 50340312 0 28086532 0 -4612958 0 -16108181 0 10644005 0 91229400 0 40164386 0 81206026 0 20618946 0 25794990 0 58666350 0 -24678408 0 -38951299...
output:
187208626.0000000065
result:
ok found '187208626.0000000', expected '187208626.0000000', error '0.0000000'
Test #102:
score: 0
Accepted
time: 12ms
memory: 4024kb
input:
50 50 0 3 49638070 0 -526169 0 36358384 0 96149265 0 25863118 0 6493363 0 -735999 0 -45011107 0 48912966 0 -14421712 0 6099615 0 -1636303 0 2427806 0 61619014 0 22686754 0 -14018835 0 9578678 0 89352941 0 34474354 0 50331772 0 -19320513 0 60232383 0 -1387044 0 -11082509 0 -31790349 0 -80000090 0 297...
output:
269998347.0000001576
result:
ok found '269998347.0000002', expected '269998346.9999999', error '0.0000000'
Test #103:
score: 0
Accepted
time: 14ms
memory: 4012kb
input:
50 50 0 8 12345 88321800 12345 5490059 12345 91569196 12345 -34792827 12345 -20953347 12345 -57269097 12345 44584453 12345 -83441001 12345 -39347052 12345 -34711156 12345 -29656350 12345 65155514 12345 -1350143 12345 91623171 12345 -6636485 12345 58272933 12345 -53575026 12345 -44133649 12345 114549...
output:
765120212.0000002300
result:
ok found '765120212.0000002', expected '765120211.9999998', error '0.0000000'
Test #104:
score: 0
Accepted
time: 19ms
memory: 3928kb
input:
50 50 0 4 56635639 54321 91216242 54321 -33750459 54321 20057642 54321 59177729 54321 -68542496 54321 -39618754 54321 54306772 54321 62620107 54321 -49803082 54321 28527141 54321 -44531251 54321 61490295 54321 15526972 54321 66125519 54321 5329936 54321 80522082 54321 -36075407 54321 -58249932 54321...
output:
385391040.0000003928
result:
ok found '385391040.0000004', expected '385391039.9999999', error '0.0000000'
Test #105:
score: 0
Accepted
time: 14ms
memory: 4020kb
input:
50 50 0 27 5659465 -5659265 4355057 -4354857 1926691 -1926491 9196659 -9196459 -5120687 5120887 8209739 -8209539 5834906 -5834706 -3992273 3992473 840378 -840178 -5234539 5234739 -1146047 1146247 7360117 -7359917 9566722 -9566522 7398742 -7398542 5776782 -5776582 1691806 -1691606 -8228590 8228790 24...
output:
361329867.4229460488
result:
ok found '361329867.4229460', expected '361329867.4229442', error '0.0000000'
Test #106:
score: 0
Accepted
time: 13ms
memory: 4048kb
input:
45 45 0 1 896298 896298 2583359 2583359 -6999745 -6999745 -2118958 -2118958 5463860 5463860 -708259 -708259 -252935 -252935 5789419 5789419 -7305644 -7305644 5386961 5386961 3465011 3465011 -7150610 -7150610 -3939429 -3939429 -2449949 -2449949 -2402508 -2402508 -732374 -732374 -5534164 -5534164 1606...
output:
13049364.3188040777
result:
ok found '13049364.3188041', expected '13049364.3188039', error '0.0000000'
Test #107:
score: 0
Accepted
time: 4ms
memory: 4084kb
input:
10 50 0 100 -222285553 -571951868 236047560 -819906819 853272222 -568449145 -823328821 -768902399 485767832 338537816 944446083 -233063604 -430711925 -947389421 533571673 11511286 -108740827 86860117 999150321 343089333 443617019 -219595193 -758856996 -225675622 -381877392 75165695 -145765181 849875...
output:
28547241090.7428681962
result:
ok found '28547241090.7428665', expected '28547241090.7428627', error '0.0000000'
Test #108:
score: 0
Accepted
time: 2ms
memory: 4144kb
input:
5 50 0 10 -444972733 446579858 -695656132 -207885635 -404893025 -44512284 994118196 289401710 -525204519 -895423078 727536603 936928026 401679635 514734394 -705988320 565379946 -694855557 -653965563 -960646097 136941132 216355109 -875763551 106897311 -646182944 141516047 -383574100 -758077775 145794...
output:
1271694387.9476061941
result:
ok found '1271694387.9476061', expected '1271694387.9476032', error '0.0000000'
Test #109:
score: 0
Accepted
time: 12ms
memory: 4088kb
input:
25 50 0 10 894247111 -940639593 -962385423 473831711 660236553 82720610 -151762198 -964726393 509767717 909183573 709849537 631361313 -933898377 832789419 741042134 883414447 -891700642 592824318 -214933574 -499072827 734108883 -204240193 491983693 439303682 -74146402 -128472338 -936307328 -73104215...
output:
7140770847.1597558185
result:
ok found '7140770847.1597557', expected '7140770847.1597528', error '0.0000000'
Test #110:
score: 0
Accepted
time: 13ms
memory: 4008kb
input:
48 50 0 100 331512901 773023833 -253952847 -901676275 306776946 917757415 620918598 -842164231 -823355099 150121756 -794497591 -33527010 552606597 -988076453 627991902 -747503340 -853938474 801894307 239601990 -102627919 477695584 944930281 140803988 -46877020 -399182750 -604465550 829553847 8374858...
output:
116437948354.2874686196
result:
ok found '116437948354.2874756', expected '116437948354.2874298', error '0.0000000'
Test #111:
score: 0
Accepted
time: 11ms
memory: 4008kb
input:
31 50 0 100 667290392 159713806 -484825908 -844605177 818731692 -330354297 29638368 -146487735 -409143738 -286605374 -918120411 566799177 -794269081 431440442 916070665 486453404 -139914136 795466045 -530547565 -578144871 -534334385 -532153668 -992020020 847285074 523254484 704865413 -644468236 -410...
output:
83122856381.5499975085
result:
ok found '83122856381.5500031', expected '83122856381.5499878', error '0.0000000'
Test #112:
score: 0
Accepted
time: 4ms
memory: 3984kb
input:
31 50 0 1000000000 -689527449 137534568 983936167 -952253448 688684937 -143891103 167265774 519608941 579776295 -880920584 -616065580 -421250532 552884348 598066322 -846110162 711575243 -228386137 -275653313 405372991 875883787 -220003688 -768871476 518237661 -184053364 -639373569 -327715756 4857224...
output:
801900017691791313.2500000000
result:
ok found '801900017691791360.0000000', expected '801900017691791232.0000000', error '0.0000000'
Test #113:
score: 0
Accepted
time: 3ms
memory: 4088kb
input:
12 50 0 2 0 28048104 0 -8467471 0 -41651666 0 67025876 0 58231311 0 -74994292 0 36648393 0 1108601 0 -70275425 0 96664743 0 77557995 0 -25316817 0 -2275083 0 92922931 0 205895 0 43012349 0 16079122 0 89438956 0 18308627 0 22248348 0 -95771409 0 13022944 0 20272985 0 -83972086 0 12147531 0 -76915869 ...
output:
21139747.0000003647
result:
ok found '21139747.0000004', expected '21139747.0000000', error '0.0000000'
Test #114:
score: 0
Accepted
time: 2ms
memory: 3988kb
input:
4 50 0 3 -2545689 0 32206247 0 70368571 0 6386506 0 48946011 0 -81365301 0 32148631 0 -13640445 0 48115547 0 22319006 0 63601682 0 12328749 0 -36317224 0 80472355 0 -79660751 0 36532080 0 22808040 0 32986758 0 -812061 0 -12699128 0 96005645 0 -30965359 0 -98005397 0 84378318 0 29206018 0 15447910 0 ...
output:
2827725.0000005236
result:
ok found '2827725.0000005', expected '2827725.0000000', error '0.0000000'
Test #115:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
1 50 0 8 12345 -18063270 12345 -51204222 12345 30282753 12345 19061622 12345 -90245144 12345 -45667640 12345 59274033 12345 68647922 12345 -94251557 12345 -56450113 12345 57375149 12345 95230279 12345 98648706 12345 62944363 12345 76699917 12345 -59649858 12345 -46983277 12345 -1688007 12345 3716138...
output:
0
result:
ok found '0.0000000', expected '0.0000000', error '0.0000000'
Test #116:
score: 0
Accepted
time: 2ms
memory: 3944kb
input:
2 50 0 4 73679274 54321 -30213595 54321 -60842856 54321 94397588 54321 -31544032 54321 31145700 54321 -12618413 54321 69436170 54321 28711063 54321 51372127 54321 -3237903 54321 -54488492 54321 47884427 54321 8722758 54321 60922531 54321 -16836728 54321 53144703 54321 95012090 54321 17063930 54321 -...
output:
14900.0000003105
result:
ok found '14900.0000003', expected '14900.0000000', error '0.0000000'
Test #117:
score: 0
Accepted
time: 4ms
memory: 4028kb
input:
10 50 0 27 8833823 -8833623 -3516431 3516631 -1022564 1022764 -244536 244736 6040834 -6040634 -7914062 7914262 9927079 -9926879 -3185055 3185255 -1867959 1868159 8892774 -8892574 -8008875 8009075 -7312401 7312601 -7246070 7246270 -7182663 7182863 -7410705 7410905 -8140194 8140394 3369170 -3368970 -6...
output:
40952165.5999540209
result:
ok found '40952165.5999540', expected '40952165.5999512', error '0.0000000'
Test #118:
score: 0
Accepted
time: 3ms
memory: 4084kb
input:
10 50 0 1 5444242 5444242 1679613 1679613 -7595462 -7595462 -2329548 -2329548 -7145966 -7145966 1835166 1835166 -7950294 -7950294 -6924447 -6924447 -5399161 -5399161 1021117 1021117 3922212 3922212 2048718 2048718 7171012 7171012 -8308445 -8308445 -8280052 -8280052 -1962385 -1962385 9346455 9346455 ...
output:
1138727.5888499835
result:
ok found '1138727.5888500', expected '1138727.5888499', error '0.0000000'
Test #119:
score: 0
Accepted
time: 0ms
memory: 3976kb
input:
4 18 0 11 893528470 449006362 893528463 449006315 893528420 449006364 904579443 426304914 904579357 426304847 904579361 426304859 977330852 -211717250 977330882 -211717296 977330873 -211717264 -115897033 993261129 -115897056 993261109 -115897097 993261163 114420080 993432302 114420087 993432336 1144...
output:
135588756.6984481131
result:
ok found '135588756.6984481', expected '135588756.6984462', error '0.0000000'
Test #120:
score: 0
Accepted
time: 1ms
memory: 3848kb
input:
4 18 0 11 404142153 -914696239 404142178 -914696203 404142138 -914696219 946396226 323007678 946396162 323007628 946396208 323007651 -605012276 -796216326 -605012297 -796216373 -605012298 -796216375 809081973 587695575 809081966 587695523 809081940 587695575 -344069107 938944290 -344069103 938944233...
output:
1640022815.9564340246
result:
ok found '1640022815.9564340', expected '1640022815.9564323', error '0.0000000'
Test #121:
score: 0
Accepted
time: 2ms
memory: 4028kb
input:
5 50 0 1 -774708218 -224515921 -678483878 -509443435 512238540 -496443672 47318378 -582071369 585213517 -548867480 -154867182 -169634363 -961699571 -445427539 -835307233 -76527352 8968609 -230976663 -287790912 -982348346 489447395 228101323 515908805 -158856837 -280991788 -510699726 515908806 -15885...
output:
56010912.1001547365
result:
ok found '56010912.1001547', expected '56010912.1001546', error '0.0000000'
Test #122:
score: 0
Accepted
time: 0ms
memory: 4004kb
input:
5 50 0 100 151652527 8682415 681776376 -433300417 -46970997 85052752 90898047 -164611216 -162153747 -104588949 -127563388 -569543221 -209912512 -442019097 565324510 -465754174 954155029 -589645730 385779215 -32047296 -602395767 219054820 -133265782 115312659 -68726638 923877145 515908805 -158856837 ...
output:
9084928507.7095011044
result:
ok found '9084928507.7095013', expected '9084928507.7094860', error '0.0000000'
Test #123:
score: 0
Accepted
time: 2ms
memory: 4012kb
input:
10 50 0 100 -131331792 41553200 -987028164 -163873146 655780327 -808387394 723685091 342960165 -219782033 105505246 76768284 -564863178 268362621 -367827473 515908807 -158856836 496905781 -995842163 129412638 272642325 515908805 -158856837 -212155166 -221612727 515908806 -158856838 507046683 4818197...
output:
7505922188.2558049839
result:
ok found '7505922188.2558050', expected '7505922188.2557812', error '0.0000000'
Test #124:
score: 0
Accepted
time: 4ms
memory: 4028kb
input:
20 50 0 100 777457773 -173825428 -467943169 -885513770 593643761 522684993 -706627906 -148433271 515908808 -158856837 -6615455 -398735329 515908807 -158856836 -382454394 579255355 -36302268 -245116085 692880911 601380903 -927086647 341996129 -295174106 -572456264 997905310 965359435 515908806 -15885...
output:
16710045866.2254331578
result:
ok found '16710045866.2254333', expected '16710045866.2254219', error '0.0000000'
Test #125:
score: 0
Accepted
time: 5ms
memory: 4004kb
input:
20 50 0 1000000000 -590690709 948839762 29084346 -621240804 -585707394 321408048 189035488 530819305 -633336208 590857140 193003233 -198784969 515908808 -158856837 -732036813 653873631 378019314 -473012352 515908807 -158856836 -22039016 478629783 256991914 -642494287 515908806 -158856835 515908805 -...
output:
268279894987760508.5312500000
result:
ok found '268279894987760512.0000000', expected '268279894987760320.0000000', error '0.0000000'
Test #126:
score: -13
Wrong Answer
time: 0ms
memory: 3684kb
input:
5 50 10 100 -427198383 -244355903 504700376 -732488575 320737791 164826067 -522308232 873030510 466508517 -726471549 -152954236 -880691428 34893426 358690435 -113450824 -501896989 -989844931 760767177 646067586 -264526532 389996795 601557290 -542485223 -283033432 641375271 -628589345 -819484747 9638...
output:
NAH
result:
wrong output format Expected double, but "NAH" found
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Wrong Answer
Test #214:
score: 15
Accepted
time: 0ms
memory: 3832kb
input:
5 50 100 10 460309761 -799742665 -100987677 761175444 -361900447 -449675625 -631196407 -1559607 -721861391 643436364 -122962913 5884730 295248578 491223378 986298998 468191512 -169039995 374919122 -46710929 402201182 -943494268 -547915393 521170382 929707215 355890998 688700401 -264192618 -469266213...
output:
3882365967.1217989521
result:
ok found '3882365967.1217990', expected '3882365967.1217990', error '0.0000000'
Test #215:
score: 0
Accepted
time: 0ms
memory: 3896kb
input:
10 50 100 10 -59322388 -550771605 390341986 606931103 -871418394 -988685394 580794497 -673520982 343709833 -956039479 801247869 439625461 1589381 489746876 -665908093 867949899 -814872010 -882744429 972183850 -174063671 -943257937 -948482354 661478192 -170778975 168727345 625941217 886063094 6424373...
output:
6482833671.2443125430
result:
ok found '6482833671.2443123', expected '6482833671.2443123', error '0.0000000'
Test #216:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
20 50 100 100 172256526 346633307 259229223 982272224 -14693453 726686801 112585283 412740894 -612981746 330560232 414925589 952297853 755222897 -470278963 -980948426 -178972652 -824953309 -812890315 -898120945 157273649 303641707 -605295618 604348064 -811746991 -588454314 639747671 -26677205 -49086...
output:
78688279609.2232165784
result:
ok found '78688279609.2232208', expected '78688279609.2232208', error '0.0000000'
Test #217:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
10 50 10 2 0 -35903531 0 -55854088 0 -25941394 0 89068915 0 -7247589 0 -64772890 0 -80596681 0 92477857 0 48897135 0 48388667 0 79862347 0 -34613254 0 -84838669 0 71155967 0 -47166258 0 87774674 0 -66532036 0 6427675 0 71979570 0 66924791 0 77107874 0 -33156614 0 28490657 0 -90526831 0 83631701 0 -1...
output:
58462844.0000000000
result:
ok found '58462844.0000000', expected '58462844.0000000', error '0.0000000'
Test #218:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
10 50 20 3 -57784739 0 32680665 0 -40372843 0 -38112740 0 -27483733 0 49180445 0 -33865310 0 -93275213 0 14582688 0 49726688 0 23692784 0 5079108 0 21787036 0 -55152691 0 -58030794 0 -52226157 0 -9501633 0 60816120 0 -23437675 0 47108333 0 50375350 0 -26261536 0 -45729813 0 53836456 0 58692596 0 -61...
output:
66153075.0000000000
result:
ok found '66153075.0000000', expected '66153075.0000000', error '0.0000000'
Test #219:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
10 50 40 8 12345 12323649 12345 11519440 12345 24159195 12345 -57111032 12345 53702723 12345 95759380 12345 -37949320 12345 -57561177 12345 85915543 12345 65350403 12345 20774339 12345 -3634719 12345 19876856 12345 44106551 12345 -58364224 12345 97902750 12345 -75785099 12345 -67707690 12345 3160736...
output:
159014878.6686349800
result:
ok found '159014878.6686350', expected '159014878.6686350', error '0.0000000'
Test #220:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
10 50 80 4 -70238808 54321 24137760 54321 41312535 54321 -69086917 54321 -36898127 54321 14009199 54321 56929308 54321 11184746 54321 66393315 54321 64719362 54321 85675548 54321 95371409 54321 61535731 54321 -52520731 54321 45109035 54321 -14483607 54321 9218985 54321 68104038 54321 67771674 54321 ...
output:
74235913.9891998097
result:
ok found '74235913.9891998', expected '74235913.9891998', error '0.0000000'
Test #221:
score: 0
Accepted
time: 1ms
memory: 3892kb
input:
10 50 50 27 3279583 -3279383 8496141 -8495941 2560388 -2560188 9634192 -9633992 -2552975 2553175 -7911684 7911884 2838580 -2838380 -7775713 7775913 3741574 -3741374 9177121 -9176921 8637231 -8637031 -5882031 5882231 4583792 -4583592 -7867752 7867952 2459405 -2459205 1339089 -1338889 -7573744 7573944...
output:
66485039.2166310450
result:
ok found '66485039.2166310', expected '66485039.2166310', error '0.0000000'
Test #222:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
10 50 33 27 4487102 4487102 6221683 6221683 1830397 1830397 5936217 5936217 -7057367 -7057367 -8795014 -8795014 -8413252 -8413252 6245638 6245638 9517562 9517562 -9340337 -9340337 3797596 3797596 7290956 7290956 -3389901 -3389901 1035768 1035768 -5990751 -5990751 7763163 7763163 4644377 4644377 2357...
output:
73730332.3728779077
result:
ok found '73730332.3728779', expected '73730332.3728779', error '0.0000000'
Test #223:
score: 0
Accepted
time: 1ms
memory: 3984kb
input:
50 499 100 10 -749368701 366767459 193967555 -903497290 -182275959 325815353 -235814193 526168810 -620430207 -783595025 950735951 -211615552 542199384 -938659076 610443494 -211771002 79213172 -984926414 911591362 438385925 179894037 -508420372 -402114614 -602093047 -262347653 762564982 -529492250 -2...
output:
3407191897.1904723640
result:
ok found '3407191897.1904721', expected '3407191897.1904726', error '0.0000000'
Test #224:
score: 0
Accepted
time: 1ms
memory: 3908kb
input:
123 700 1 1 627091198 347919893 846693374 519878505 110293406 -727563282 -456633918 90069576 462597626 6571535 471446185 159667816 -433503832 -478626509 -155768819 974567881 375747708 880205674 568145433 -869391578 147504892 -849260242 -670046461 4948280 968730391 248365674 48473897 -338278915 -8492...
output:
467428256.0608609014
result:
ok found '467428256.0608609', expected '467428256.0608609', error '0.0000000'
Test #225:
score: -15
Wrong Answer
time: 1ms
memory: 3836kb
input:
5 700 10 100 208858435 -88182480 -741696379 -598682057 302405447 -859933395 937288158 -246462103 -795089487 -134853263 447084098 -170140707 -763893621 -837779544 -997887282 -601347509 910455654 -542876932 245671016 -584446448 -115585375 675336017 -204812484 -244648028 60707533 -231676933 692324080 -...
output:
NAH
result:
wrong output format Expected double, but "NAH" found
Subtask #7:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
0%