QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#435206 | #8795. Mysterious Sequence | ucup-team121# | AC ✓ | 12ms | 4052kb | C++23 | 722b | 2024-06-08 19:16:29 | 2024-06-08 19:16:30 |
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: 12ms
memory: 3872kb
input:
1.0 1.0 10 1 10
output:
1.000000000000000000 -0.323529411764702790 0.676470588235294379 0.352941176470591700 1.029411764705888688 1.382352941176466565 2.411764705882355475 3.794117647058811382 6.205882352941188174 10.000000000000000000
result:
ok 10 numbers
Test #2:
score: 0
Accepted
time: 9ms
memory: 3876kb
input:
1 1 2 1 100
output:
1.000000000000000000 100.000000000000000000
result:
ok 2 numbers
Test #3:
score: 0
Accepted
time: 9ms
memory: 3828kb
input:
1 1 5 50 100
output:
50.000000000000000000 0.000000000000213163 50.000000000000213163 50.000000000000305533 100.000000000000000000
result:
ok 5 numbers
Test #4:
score: 0
Accepted
time: 8ms
memory: 3808kb
input:
0.25 0.25 10 1 1
output:
1.000000000000000000 55.875536480686662344 14.218884120171791707 17.523605150214635273 7.935622317596572550 6.364806866952793740 3.575107296137344459 2.484978540772539990 1.515021459227470890 1.000000000000000000
result:
ok 10 numbers
Test #5:
score: 0
Accepted
time: 9ms
memory: 3976kb
input:
0.25 0.63 6 93 12
output:
93.000000000000000000 -14.204807958664996903 55.038798010333778166 4.810670488624464447 35.877110368666379259 12.000000000000000000
result:
ok 6 numbers
Test #6:
score: 0
Accepted
time: 12ms
memory: 3916kb
input:
0.25 0.80 10 5 63
output:
5.000000000000000000 78.769536183531073448 23.692384045882889154 68.938724958295622969 36.188588476280223460 64.198127085706488515 45.000402552450900373 62.608602306677894944 51.652472618630184797 63.000000000000000000
result:
ok 10 numbers
Test #7:
score: 0
Accepted
time: 9ms
memory: 3872kb
input:
0.25 0.99 3 18 30
output:
18.000000000000000000 48.719999999999743068 30.000000000000000000
result:
ok 3 numbers
Test #8:
score: 0
Accepted
time: 11ms
memory: 3916kb
input:
0.28 0.64 9 6 10
output:
6.000000000000000000 20.950403348507666834 9.706112937582197731 16.125969765567909064 10.727183814411583640 13.324232117998747071 10.596182634263065836 11.494439693112845191 10.000000000000000000
result:
ok 9 numbers
Test #9:
score: 0
Accepted
time: 10ms
memory: 4040kb
input:
0.31 0.40 7 10 49
output:
10.000000000000000000 240.115063998687872981 78.435669839593373354 120.361083249749071911 68.686203743259639509 69.437156460309751083 49.000000000000000000
result:
ok 7 numbers
Test #10:
score: 0
Accepted
time: 9ms
memory: 3948kb
input:
0.32 0.28 5 36 6
output:
36.000000000000000000 10.121376811594275935 13.318840579710208516 7.096014492753647929 6.000000000000000000
result:
ok 5 numbers
Test #11:
score: 0
Accepted
time: 12ms
memory: 3908kb
input:
0.35 0.65 10 86 82
output:
86.000000000000000000 79.533924786230585369 83.736873675181072940 81.004956897363086910 82.780702802944546193 81.626467964316162806 82.376720609424666009 81.889056390104215666 82.206038132662868634 82.000000000000000000
result:
ok 10 numbers
Test #12:
score: 0
Accepted
time: 10ms
memory: 3944kb
input:
0.36 0.68 8 72 59
output:
72.000000000000000000 38.239918642605246646 62.726370711338134356 48.584638133053317688 60.144401811609100150 54.689538582655522703 60.586427121650075378 59.000000000000000000
result:
ok 8 numbers
Test #13:
score: 0
Accepted
time: 9ms
memory: 3812kb
input:
0.43 0.61 2 93 84
output:
93.000000000000000000 84.000000000000000000
result:
ok 2 numbers
Test #14:
score: 0
Accepted
time: 9ms
memory: 4036kb
input:
0.46 0.96 6 65 35
output:
65.000000000000000000 -16.617423662818161745 54.755985115103527505 9.235026436642261416 56.813857871354883855 35.000000000000000000
result:
ok 6 numbers
Test #15:
score: 0
Accepted
time: 8ms
memory: 3732kb
input:
0.50 0.90 4 19 1
output:
19.000000000000000000 -6.565217391304385863 13.817391304347815151 1.000000000000000000
result:
ok 4 numbers
Test #16:
score: 0
Accepted
time: 8ms
memory: 3804kb
input:
0.54 0.35 3 16 22
output:
16.000000000000000000 30.370370370370178392 22.000000000000000000
result:
ok 3 numbers
Test #17:
score: 0
Accepted
time: 12ms
memory: 3752kb
input:
0.55 0.89 10 74 13
output:
74.000000000000000000 -48.321937076576261916 39.282934607882999956 -21.400909963817554171 23.191311320916142336 -6.291588641293748729 17.179893322903815545 3.849427436845661354 17.407290147649497669 13.000000000000000000
result:
ok 10 numbers
Test #18:
score: 0
Accepted
time: 8ms
memory: 3756kb
input:
0.56 0.36 3 31 88
output:
31.000000000000000000 137.214285714283221296 88.000000000000000000
result:
ok 3 numbers
Test #19:
score: 0
Accepted
time: 10ms
memory: 3816kb
input:
0.57 0.93 7 71 48
output:
71.000000000000000000 -34.080565361685771109 46.604077743839013692 -5.130601472379887618 40.417349462513740832 18.266429824319775577 48.000000000000000000
result:
ok 7 numbers
Test #20:
score: 0
Accepted
time: 10ms
memory: 3912kb
input:
0.58 0.41 8 30 69
output:
30.000000000000000000 89.432121682810986840 64.170630576029850545 73.886135624049785520 69.163917198121467322 70.408387580770181557 69.194070848076378866 69.000000000000000000
result:
ok 8 numbers
Test #21:
score: 0
Accepted
time: 10ms
memory: 4048kb
input:
0.58 0.49 6 31 96
output:
31.000000000000000000 99.557613538416134702 72.933415852281200387 91.084611828147558299 88.566448627943046290 96.000000000000000000
result:
ok 6 numbers
Test #22:
score: 0
Accepted
time: 10ms
memory: 3812kb
input:
0.61 0.29 8 62 25
output:
62.000000000000000000 34.407651257133728961 38.968667266851369391 33.749105897348485428 31.887868104769417243 29.238840254140335162 27.083174305408753924 25.000000000000000000
result:
ok 8 numbers
Test #23:
score: 0
Accepted
time: 11ms
memory: 3820kb
input:
0.63 0.89 9 37 85
output:
37.000000000000000000 -5.887853302176933035 29.220652419628521557 13.168821585428503340 34.302738252289415755 33.330976309973806337 51.527952119821257781 62.127178751363786091 85.000000000000000000
result:
ok 9 numbers
Test #24:
score: 0
Accepted
time: 5ms
memory: 3808kb
input:
0.64 0.67 2 74 42
output:
74.000000000000000000 42.000000000000000000
result:
ok 2 numbers
Test #25:
score: 0
Accepted
time: 9ms
memory: 3808kb
input:
0.65 0.56 2 94 96
output:
94.000000000000000000 96.000000000000000000
result:
ok 2 numbers
Test #26:
score: 0
Accepted
time: 12ms
memory: 4044kb
input:
0.65 0.90 10 97 23
output:
97.000000000000000000 -61.703576279117854142 47.192675418573742263 -24.857979629132898935 26.315721117779837357 -5.266962939662661825 20.260623095221120593 8.429138366197157950 23.713500723727136688 23.000000000000000000
result:
ok 10 numbers
Test #27:
score: 0
Accepted
time: 8ms
memory: 3756kb
input:
0.67 0.88 4 70 42
output:
70.000000000000000000 0.547821506509321265 61.967040409361246134 42.000000000000000000
result:
ok 4 numbers
Test #28:
score: 0
Accepted
time: 12ms
memory: 3848kb
input:
0.69 0.39 10 2 27
output:
2.000000000000000000 22.365907687016473915 16.212476304041150144 19.909312647724767942 20.060291485506258624 21.606233057612001858 22.731814489099534171 24.111382889947361008 25.502261844812476710 27.000000000000000000
result:
ok 10 numbers
Test #29:
score: 0
Accepted
time: 8ms
memory: 3812kb
input:
0.69 0.57 4 88 47
output:
88.000000000000000000 11.843609597553141910 58.332090622311781658 47.000000000000000000
result:
ok 4 numbers
Test #30:
score: 0
Accepted
time: 10ms
memory: 3876kb
input:
0.71 0.89 8 4 41
output:
4.000000000000000000 6.838890362691112834 8.415612157510647506 12.061697054627705583 16.053699728970087790 22.133037186187269896 30.002249160976443676 41.000000000000000000
result:
ok 8 numbers
Test #31:
score: 0
Accepted
time: 10ms
memory: 3816kb
input:
0.72 0.49 8 21 48
output:
21.000000000000000000 19.940442369940377887 24.647118506357099221 27.516742085847820221 31.889142369925302489 36.443386128411567881 41.864917773719731997 48.000000000000000000
result:
ok 8 numbers
Test #32:
score: 0
Accepted
time: 8ms
memory: 3748kb
input:
0.74 0.58 3 57 29
output:
57.000000000000000000 -5.486486486486481517 29.000000000000000000
result:
ok 3 numbers
Test #33:
score: 0
Accepted
time: 5ms
memory: 3920kb
input:
0.76 0.70 2 91 18
output:
91.000000000000000000 18.000000000000000000
result:
ok 2 numbers
Test #34:
score: 0
Accepted
time: 12ms
memory: 3824kb
input:
0.77 0.36 10 31 25
output:
31.000000000000000000 5.214972085026343684 15.175528505470349927 13.562546899821624535 15.906351374831915635 17.130407442556393249 18.916700225707764105 20.732805853115522154 22.774272588153756658 25.000000000000000000
result:
ok 10 numbers
Test #35:
score: 0
Accepted
time: 10ms
memory: 4052kb
input:
0.77 0.96 8 78 68
output:
78.000000000000000000 -40.097557007605203694 44.004881104144104143 -4.609896277109855944 38.695065726603743883 25.369700183459698906 56.681932238803810264 68.000000000000000000
result:
ok 8 numbers
Test #36:
score: 0
Accepted
time: 11ms
memory: 3940kb
input:
0.78 0.52 7 73 77
output:
73.000000000000000000 8.727547506052861337 44.767487054721364359 39.456964605830350479 54.055525661002292281 62.680931610613605187 77.000000000000000000
result:
ok 7 numbers
Test #37:
score: 0
Accepted
time: 8ms
memory: 3760kb
input:
0.78 0.69 4 42 97
output:
42.000000000000000000 57.297905113986352887 73.672365988909433554 97.000000000000000000
result:
ok 4 numbers
Test #38:
score: 0
Accepted
time: 12ms
memory: 3760kb
input:
0.78 0.70 10 54 99
output:
54.000000000000000000 -13.012886350899577792 27.649948646298284416 12.457939498483026952 29.072156861225515456 31.396840000694020034 44.840045003398955714 56.953023103136843019 75.811389522826118537 99.000000000000000000
result:
ok 10 numbers
Test #39:
score: 0
Accepted
time: 12ms
memory: 3824kb
input:
0.78 0.76 10 97 83
output:
97.000000000000000000 -43.734736959040141357 39.606905171948241673 -2.345014054750846899 28.272136967975011856 20.270056153409910848 37.297467895320664866 44.497267634941508163 63.053944355697964852 83.000000000000000000
result:
ok 10 numbers
Test #40:
score: 0
Accepted
time: 12ms
memory: 3816kb
input:
0.78 0.95 10 100 32
output:
100.000000000000000000 -63.269578817364489964 45.649728522456065605 -24.499311628980336764 24.257779025728503086 -4.353278407462864763 19.649332916621027323 11.190865187874670994 27.395741117332203629 32.000000000000000000
result:
ok 10 numbers
Test #41:
score: 0
Accepted
time: 12ms
memory: 3824kb
input:
0.79 0.90 10 98 42
output:
98.000000000000000000 -58.246914628041274398 42.184937443847069005 -19.096122584597779337 22.880506857630127371 0.889090091389903914 21.294837344065143725 17.623102584062326770 33.087604651067763939 42.000000000000000000
result:
ok 10 numbers
Test #42:
score: 0
Accepted
time: 12ms
memory: 3908kb
input:
0.81 0.48 10 97 1
output:
97.000000000000000000 -38.257501681599457299 15.571423637904656445 -5.750747660464877953 2.816177741217688713 -0.479254906636819189 0.963568841408662169 0.550448406355346753 0.908376253023994940 1.000000000000000000
result:
ok 10 numbers
Test #43:
score: 0
Accepted
time: 8ms
memory: 3976kb
input:
0.81 0.86 10 20 100
output:
20.000000000000000000 -3.332842869651317486 14.500397275582418644 8.879076925321607305 19.662393966511302779 23.562545268650673336 35.995320478806618780 49.419998518873015314 70.986174412060805139 100.000000000000000000
result:
ok 10 numbers
Test #44:
score: 0
Accepted
time: 8ms
memory: 3936kb
input:
0.84 0.85 10 74 95
output:
74.000000000000000000 -36.290804877097897929 32.415723903237278591 -3.617976066814040603 24.514265421627868591 17.516703297375521231 35.551156378179236128 44.752169160439649431 67.810305016221519736 95.000000000000000000
result:
ok 10 numbers
Test #45:
score: 0
Accepted
time: 12ms
memory: 3876kb
input:
0.88 0.37 10 3 96
output:
3.000000000000000000 29.021828490376019971 26.649209071531188897 34.189380524386656646 39.946862217926657479 47.803309545798420288 56.847251420935705823 67.712805782368619134 80.620752114230427310 96.000000000000000000
result:
ok 10 numbers
Test #46:
score: 0
Accepted
time: 12ms
memory: 3808kb
input:
0.91 0.50 10 100 98
output:
100.000000000000000000 -22.586857854484581054 29.445959352418931587 15.502394083458955976 28.830158292157090472 33.986641087592474264 45.342922535788297012 58.255380051363957250 75.683857114635273433 98.000000000000000000
result:
ok 10 numbers
Test #47:
score: 0
Accepted
time: 12ms
memory: 4048kb
input:
0.94 0.48 10 44 97
output:
44.000000000000000000 -1.582743438717791440 19.632221167605283796 17.694571046964373551 26.056362944597012188 32.986375270464272091 43.514246967642442598 56.736852279407202104 74.219479687111032717 97.000000000000000000
result:
ok 10 numbers
Test #48:
score: 0
Accepted
time: 12ms
memory: 3696kb
input:
0.94 0.54 10 28 95
output:
28.000000000000000000 0.452546307145820337 15.545393528717074361 14.857044922852805868 22.360134732988768747 29.041330907349809820 39.373323808722531680 52.693243070168755082 70.793243342668660034 95.000000000000000000
result:
ok 10 numbers
Test #49:
score: 0
Accepted
time: 12ms
memory: 3824kb
input:
0.95 0.57 10 2 94
output:
2.000000000000000000 9.227284174161155761 9.905919965453060527 14.670175946452244986 19.583041529437892336 26.965889742443646782 36.779928927100840497 50.311489633939338262 68.760474640689679404 94.000000000000000000
result:
ok 10 numbers
Test #50:
score: 0
Accepted
time: 12ms
memory: 3696kb
input:
0.98 0.90 10 21 99
output:
21.000000000000000000 -8.213193484970108926 10.851070384729261775 3.242174840561482085 12.943294690006622361 15.602386152711821055 26.939303650663656953 40.442665115090804306 63.879185098386003006 99.000000000000000000
result:
ok 10 numbers
Extra Test:
score: 0
Extra Test Passed