QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#772867 | #6542. Optimal Quadratic Function | utilforever | TL | 8102ms | 10004kb | C++23 | 3.1kb | 2024-11-22 22:29:35 | 2024-11-22 22:29:35 |
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: 100
Accepted
time: 2ms
memory: 9948kb
input:
1 4 0 0 1 3 2 9 3 0
output:
5.062500000000
result:
ok found '5.0625000', expected '5.0625000', error '0.0000000'
Test #2:
score: 0
Accepted
time: 780ms
memory: 7872kb
input:
60 1 1000 -990 2 171 -638 949 -99 2 633 227 -257 -602 3 634 -994 633 999 -374 995 3 445 -110 586 -121 462 29 9 -995 -224 -458 -833 691 -670 456 -259 -376 55 -563 -12 834 827 -826 -220 299 744 17 997 991 997 976 997 988 998 -986 999 -982 999 -980 999 -996 998 -988 998 -991 997 987 1000 996 999 -1000 ...
output:
0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 543160.125996500659 121.000000000000 0.832006181248 412780.607179494483 12.250000000000 15750.250000000000 118751.380086115486 880245.505473610896 1.000000000000 15.363373360434 854986.713165121598 20.250000000000 24567.66738...
result:
ok 60 numbers
Test #3:
score: 0
Accepted
time: 541ms
memory: 7924kb
input:
1000 1 -585478 527569 1 152984 679945 1 -174472 172630 1 235983 471538 1 -250372 650998 1 521028 -109032 1 121457 989514 1 916700 -223410 1 25908 939341 1 999032 369442 1 249207 -874185 1 -921949 719467 1 -692065 -756006 1 580461 644861 1 -382986 975568 1 644060 -113069 1 -588888 717169 1 2947 -3929...
output:
0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 ...
result:
ok 1000 numbers
Test #4:
score: 0
Accepted
time: 595ms
memory: 7900kb
input:
1000 2 578578 -462573 -614596 -50411 2 568651 926188 -15389 -281674 2 -56242 -213116 215036 310015 2 -568452 -743741 -314862 -573269 2 -428037 -926383 -172945 -31965 2 -58020 145819 -69585 116311 2 -629887 -794837 704590 -761914 2 243217 -433618 98814 -457689 2 147490 681479 665176 -119632 2 -851707...
output:
0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 ...
result:
ok 1000 numbers
Test #5:
score: 0
Accepted
time: 645ms
memory: 7904kb
input:
1000 3 -734917 -489090 419510 102330 712427 633246 3 36286 -456156 747264 -743132 260371 -674274 3 429263 14588 352092 -105774 547767 232534 3 -913665 328259 240305 -680653 -295994 -678964 3 597443 -368402 -231672 43641 -590555 396735 3 -603016 904082 -607928 649743 464117 526551 3 350193 -351624 33...
output:
0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 0.000000000000 ...
result:
ok 1000 numbers
Test #6:
score: 0
Accepted
time: 692ms
memory: 8000kb
input:
1000 4 -48411 -514672 165369 -349660 -281244 -842990 50473 -422110 4 -487482 -318709 861670 -709796 -491931 -335068 -523699 -455262 4 -817575 -338873 869501 905839 -717462 -668516 841972 769497 4 530706 615905 128991 -871809 82920 -948448 -317630 -725769 4 144451 772470 -923425 791489 513030 193835 ...
output:
0.001635255575 0.441888894957 0.095087656639 3655702.652005335557 769858.665865681339 876.964419415291 2.383378193771 0.003314340045 0.046074291573 0.414087267362 31534.752844051035 0.011533315830 1322109.793510651889 2475705.141865567802 5494047.076441630240 0.604758225487 36615.982250425356 15433....
result:
ok 1000 numbers
Test #7:
score: 0
Accepted
time: 749ms
memory: 7848kb
input:
1000 5 -425128 981633 -381689 946206 957441 996145 84010 712860 -8814 738024 5 235841 662950 864929 -477349 823444 -108225 714735 661226 300163 983888 5 -972539 106077 -856485 556296 -951397 193386 -207377 778279 -862794 555900 5 -877483 818676 537271 -193411 341352 408858 167065 819835 451709 87895...
output:
162.217424809440 24899.703041571733 111166879.556591900800 440.668044791788 45502620.026471871115 0.908165736711 48119370.938385920974 1331743.107374932755 1145.041046338979 11911.409090436752 898995.931083420985 0.281486410617 7.835265495662 0.770599369863 1167.305707701307 40318098119.994778841734...
result:
ok 1000 numbers
Test #8:
score: 0
Accepted
time: 1011ms
memory: 7920kb
input:
1000 10 860001 272235 -30508 220967 711207 504388 77794 647164 303746 959200 592742 534104 57277 254211 266565 968002 919148 568676 991753 -20796 10 95213 204518 35283 198770 69842 203724 -316246 248661 -319918 245804 -923990 767251 -689125 503455 175418 229272 90053 206083 -815528 637145 10 -808164...
output:
52855287328.802693840116 4736213.545031963980 325.276605492672 11692527.619331878569 61306.467096222596 24947264304.333127584308 492734951022.514324724674 0.965345750483 1913.495508354266 385.474667383935 6.448445434724 42078421804.716366149485 5867468.015672797460 0.606672108437 24254772.5154411743...
result:
ok 1000 numbers
Test #9:
score: 0
Accepted
time: 2ms
memory: 7780kb
input:
1 4 -1000000 -1000000 -999999 1000000 999999 1000000 1000000 -1000000
output:
0.000000000000
result:
ok found '0.0000000', expected '0.0000000', error '-0.0000000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 7840kb
input:
1 4 -1000000 -1000000 -999999 1000000 -999998 1000000 -999997 -100000
output:
12656250000.000000025146
result:
ok found '12656250000.0000000', expected '12656250000.0000000', error '0.0000000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 7960kb
input:
1 4 -1000000 -1000000 -999999 1000000 -999998 1000000 -999997 -1000000
output:
0.000000000000
result:
ok found '0.0000000', expected '0.0000000', error '-0.0000000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 7900kb
input:
1 4 -1000000 -300000 -999999 300000 -999998 300000 -999997 -300000
output:
0.000000000000
result:
ok found '0.0000000', expected '0.0000000', error '-0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 7920kb
input:
1 4 -1000000 -999999 -999999 999998 -999998 999996 -999997 -999999
output:
0.562500000000
result:
ok found '0.5625000', expected '0.5625000', error '0.0000000'
Test #14:
score: 0
Accepted
time: 7ms
memory: 10004kb
input:
8 4 -1000000 -1000000 -999999 1000000 999999 999977 1000000 -1000000 4 -1000000 -1000000 -999999 1000000 999999 999770 1000000 -1000000 4 -1000000 -1000000 -999999 1000000 999999 997770 1000000 -1000000 4 -1000000 -1000000 -999999 1000000 999999 977770 1000000 -1000000 4 -1000000 -1000000 -999999 10...
output:
33.062534521901 3306.253317595360 310806.560896116756 30885837.138156598421 62499875000.002895414829 561097185.453398103127 0.563063220231 2770157895.503498041769
result:
ok 8 numbers
Test #15:
score: 0
Accepted
time: 78ms
memory: 7908kb
input:
50 20 -78760 901241 -290160 346799 -100100 886312 -400033 -7842 -128289 858428 -443380 -236792 -204313 613533 870820 96059 812309 226162 -35539 980448 797663 345545 -445875 -256648 -460410 -299719 627726 793426 832862 169452 656272 795052 -339551 196857 -34433 992148 -388395 11457 -255059 482328 20 ...
output:
1995515551.235962009290 81676587.163523084113 15097.239970326871 23.395512435258 579359934.006406160828 3853.663650182073 50.381382981920 2611489.365516200977 131464690.063053381906 2137.820042139009 284.143965597587 564775635.752803576062 39822891364.866817303002 909.273877188266 16588.063573659907...
result:
ok 50 numbers
Test #16:
score: 0
Accepted
time: 8102ms
memory: 7916kb
input:
500 300 -574218 -271807 -443150 -83950 15479 867073 -467689 -121944 -318587 129168 -24306 766466 -968754 -612160 -814705 -519500 -60831 677156 -195474 372912 -44244 717366 -134450 505915 -523893 -204101 -179966 405956 -732527 -448979 -886997 -569400 -190507 383431 -538163 -223837 -885831 -568677 -60...
output:
223.573986920552 11176.342875399708 1192.744752949744 453187006.523415848991 554031869.363550290989 9.206159026040 126.713164439731 2.791225177037 7790357819.291377986781 13298746917.736193737946 138873066385.780571773648 4982989809.292046398390 67327474.877923178683 4313.350015524155 2045627.964019...
result:
ok 500 numbers
Test #17:
score: -100
Time Limit Exceeded
input:
2 100000 856014 -110712 -748941 799207 -390374 -391739 448342 -991095 -64136 -981770 583018 -785726 -94728 -935377 768587 -365471 -102072 -963217 -547043 88834 -57865 -990529 -569447 175470 -331771 -501999 -123570 -924764 -86739 -946110 -481573 -114452 -143293 -909698 -188793 -835029 -368557 -415082...