QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#435749 | #8795. Mysterious Sequence | ucup-team1123# | AC ✓ | 1ms | 3844kb | C++23 | 32.4kb | 2024-06-08 21:19:43 | 2024-06-08 21:19:44 |
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: 0ms
memory: 3772kb
input:
1.0 1.0 10 1 10
output:
1.0000000000000000 -0.3235294117647058 0.6764705882352941 0.3529411764705882 1.0294117647058823 1.3823529411764705 2.4117647058823529 3.7941176470588235 6.2058823529411764 10.0000000000000000
result:
ok 10 numbers
Test #2:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
1 1 2 1 100
output:
1.0000000000000000 100.0000000000000000
result:
ok 2 numbers
Test #3:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
1 1 5 50 100
output:
50.0000000000000000 0.0000000000000000 50.0000000000000000 50.0000000000000000 100.0000000000000000
result:
ok 5 numbers
Test #4:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
0.25 0.25 10 1 1
output:
1.0000000000000000 55.8755364806866952 14.2188841201716738 17.5236051502145922 7.9356223175965665 6.3648068669527896 3.5751072961373390 2.4849785407725321 1.5150214592274678 1.0000000000000000
result:
ok 10 numbers
Test #5:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
0.25 0.63 6 93 12
output:
93.0000000000000000 -14.2048079586650447 55.0387980103337388 4.8106704886244565 35.8771103686663695 12.0000000000000000
result:
ok 6 numbers
Test #6:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.25 0.80 10 5 63
output:
5.0000000000000000 78.7695361835313554 23.6923840458828388 68.9387249582957940 36.1885884762802196 64.1981270857066901 45.0004025524508482 62.6086023066780641 51.6524726186301946 62.9999999999999999
result:
ok 10 numbers
Test #7:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.25 0.99 3 18 30
output:
18.0000000000000000 48.7200000000000000 30.0000000000000000
result:
ok 3 numbers
Test #8:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
0.28 0.64 9 6 10
output:
6.0000000000000000 20.9504033485078051 9.7061129375821854 16.1259697655680071 10.7271838144116406 13.3242321179987839 10.5961826342631095 11.4944396931128924 10.0000000000000000
result:
ok 9 numbers
Test #9:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.31 0.40 7 10 49
output:
10.0000000000000000 240.1150639986882639 78.4356698395933618 120.3610832497492477 68.6862037432596115 69.4371564603101786 49.0000000000000000
result:
ok 7 numbers
Test #10:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.32 0.28 5 36 6
output:
36.0000000000000000 10.1213768115942028 13.3188405797101449 7.0960144927536231 5.9999999999999999
result:
ok 5 numbers
Test #11:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.35 0.65 10 86 82
output:
86.0000000000000000 79.5339247862308320 83.7368736751807912 81.0049568973633177 82.7807028029446754 81.6264679643167929 82.3767206094249165 81.8890563901046362 82.2060381326628184 82.0000000000000000
result:
ok 10 numbers
Test #12:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.36 0.68 8 72 59
output:
72.0000000000000000 38.2399186426056982 62.7263707113380513 48.5846381330535732 60.1444018116091613 54.6895385826557279 60.5864271216502917 59.0000000000000000
result:
ok 8 numbers
Test #13:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
0.43 0.61 2 93 84
output:
93.0000000000000000 84.0000000000000000
result:
ok 2 numbers
Test #14:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
0.46 0.96 6 65 35
output:
65.0000000000000000 -16.6174236628180476 54.7559851151036980 9.2350264366423753 56.8138578713550427 35.0000000000000000
result:
ok 6 numbers
Test #15:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
0.50 0.90 4 19 1
output:
19.0000000000000000 -6.5652173913043478 13.8173913043478260 1.0000000000000000
result:
ok 4 numbers
Test #16:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
0.54 0.35 3 16 22
output:
16.0000000000000000 30.3703703703703703 22.0000000000000000
result:
ok 3 numbers
Test #17:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
0.55 0.89 10 74 13
output:
74.0000000000000000 -48.3219370765765190 39.2829346078829145 -21.4009099638174990 23.1913113209161694 -6.2915886412936809 17.1798933229038663 3.8494274368457504 17.4072901476496037 12.9999999999999999
result:
ok 10 numbers
Test #18:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.56 0.36 3 31 88
output:
31.0000000000000000 137.2142857142857142 88.0000000000000000
result:
ok 3 numbers
Test #19:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
0.57 0.93 7 71 48
output:
71.0000000000000000 -34.0805653616860180 46.6040777438389696 -5.1306014723797840 40.4173494625137648 18.2664298243196467 48.0000000000000000
result:
ok 7 numbers
Test #20:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
0.58 0.41 8 30 69
output:
30.0000000000000000 89.4321216828098121 64.1706305760296910 73.8861356240492437 69.1639171981207347 70.4083875807702160 69.1940708480762265 69.0000000000000000
result:
ok 8 numbers
Test #21:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.58 0.49 6 31 96
output:
31.0000000000000000 99.5576135384171724 72.9334158522819600 91.0846118281479513 88.5664486279439721 96.0000000000000000
result:
ok 6 numbers
Test #22:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
0.61 0.29 8 62 25
output:
62.0000000000000000 34.4076512571337153 38.9686672668515663 33.7491058973482329 31.8878681047693763 29.2388402541403071 27.0831743054087064 25.0000000000000000
result:
ok 8 numbers
Test #23:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
0.63 0.89 9 37 85
output:
37.0000000000000000 -5.8878533021768835 29.2206524196285633 13.1688215854285686 34.3027382522894196 33.3309763099737604 51.5279521198210525 62.1271787513639098 85.0000000000000000
result:
ok 9 numbers
Test #24:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
0.64 0.67 2 74 42
output:
74.0000000000000000 42.0000000000000000
result:
ok 2 numbers
Test #25:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
0.65 0.56 2 94 96
output:
94.0000000000000000 96.0000000000000000
result:
ok 2 numbers
Test #26:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.65 0.90 10 97 23
output:
97.0000000000000000 -61.7035762791175542 47.1926754185735897 -24.8579796291329655 26.3157211177798031 -5.2669629396627969 20.2606230952210048 8.4291383661971359 23.7135007237270426 23.0000000000000000
result:
ok 10 numbers
Test #27:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.67 0.88 4 70 42
output:
70.0000000000000000 0.5478215065091429 61.9670404093611257 42.0000000000000000
result:
ok 4 numbers
Test #28:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
0.69 0.39 10 2 27
output:
2.0000000000000000 22.3659076870161257 16.2124763040411267 19.9093126477246665 20.0602914855060593 21.6062330576118008 22.7318144890995057 24.1113828899472612 25.5022618448124175 27.0000000000000000
result:
ok 10 numbers
Test #29:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.69 0.57 4 88 47
output:
88.0000000000000000 11.8436095975528152 58.3320906223114425 47.0000000000000000
result:
ok 4 numbers
Test #30:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
0.71 0.89 8 4 41
output:
4.0000000000000000 6.8388903626910718 8.4156121575106609 12.0616970546276232 16.0536997289701007 22.1330371861873562 30.0022491609764126 41.0000000000000000
result:
ok 8 numbers
Test #31:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.72 0.49 8 21 48
output:
21.0000000000000000 19.9404423699403013 24.6471185063570169 27.5167420858477998 31.8891423699253542 36.4433861284116769 41.8649177737198309 48.0000000000000000
result:
ok 8 numbers
Test #32:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
0.74 0.58 3 57 29
output:
57.0000000000000000 -5.4864864864864864 29.0000000000000000
result:
ok 3 numbers
Test #33:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.76 0.70 2 91 18
output:
91.0000000000000000 18.0000000000000000
result:
ok 2 numbers
Test #34:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
0.77 0.36 10 31 25
output:
31.0000000000000000 5.2149720850264223 15.1755285054703452 13.5625468998216778 15.9063513748320162 17.1304074425564565 18.9167002257079973 20.7328058531154823 22.7742725881538004 24.9999999999999999
result:
ok 10 numbers
Test #35:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
0.77 0.96 8 78 68
output:
78.0000000000000000 -40.0975570076049792 44.0048811041441659 -4.6098962771097723 38.6950657266038745 25.3697001834596019 56.6819322388036131 68.0000000000000000
result:
ok 8 numbers
Test #36:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
0.78 0.52 7 73 77
output:
73.0000000000000000 8.7275475060529322 44.7674870547212871 39.4569646058301287 54.0555256610025697 62.6809316106136714 77.0000000000000000
result:
ok 7 numbers
Test #37:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0.78 0.69 4 42 97
output:
42.0000000000000000 57.2979051139864448 73.6723659889094269 97.0000000000000000
result:
ok 4 numbers
Test #38:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
0.78 0.70 10 54 99
output:
54.0000000000000000 -13.0128863508996959 27.6499486462982371 12.4579394984828377 29.0721568612253794 31.3968400006937824 44.8400450033989159 56.9530231031368021 75.8113895228259468 99.0000000000000000
result:
ok 10 numbers
Test #39:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
0.78 0.76 10 97 83
output:
97.0000000000000000 -43.7347369590404876 39.6069051719484196 -2.3450140547510032 28.2721369679750164 20.2700561534097503 37.2974678953206177 44.4972676349414921 63.0539443556980333 83.0000000000000000
result:
ok 10 numbers
Test #40:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.78 0.95 10 100 32
output:
100.0000000000000000 -63.2695788173641278 45.6497285224559803 -24.4993116289802567 24.2577790257285810 -4.3532784074629507 19.6493329166210503 11.1908651878746160 27.3957411173321983 31.9999999999999999
result:
ok 10 numbers
Test #41:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0.79 0.90 10 98 42
output:
98.0000000000000000 -58.2469146280413620 42.1849374438473239 -19.0961225845978399 22.8805068576302979 0.8890900913898794 21.2948373440652729 17.6231025840624571 33.0876046510680868 42.0000000000000000
result:
ok 10 numbers
Test #42:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
0.81 0.48 10 97 1
output:
97.0000000000000000 -38.2575016815992159 15.5714236379046350 -5.7507476604648692 2.8161777412176807 -0.4792549066368158 0.9635688414086659 0.5504484063553478 0.9083762530239914 1.0000000000000000
result:
ok 10 numbers
Test #43:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.81 0.86 10 20 100
output:
20.0000000000000000 -3.3328428696514015 14.5003972755823647 8.8790769253215100 19.6623939665112568 23.5625452686506166 35.9953204788066803 49.4199985188729414 70.9861744120608276 100.0000000000000000
result:
ok 10 numbers
Test #44:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
0.84 0.85 10 74 95
output:
74.0000000000000000 -36.2908048770982899 32.4157239032374364 -3.6179760668140998 24.5142654216279771 17.5167032973755159 35.5511563781792139 44.7521691604397282 67.8103050162217035 94.9999999999999999
result:
ok 10 numbers
Test #45:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
0.88 0.37 10 3 96
output:
3.0000000000000000 29.0218284903764229 26.6492090715312522 34.1893805243867784 39.9468622179269283 47.8033095457988050 56.8472514209359119 67.7128057823691603 80.6207521142311485 96.0000000000000000
result:
ok 10 numbers
Test #46:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.91 0.50 10 100 98
output:
100.0000000000000000 -22.5868578544844235 29.4459593524191745 15.5023940834592370 28.8301582921574929 33.9866410875929371 45.3429225357883192 58.2553800513638391 75.6838571146352532 97.9999999999999999
result:
ok 10 numbers
Test #47:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.94 0.48 10 44 97
output:
44.0000000000000000 -1.5827434387178068 19.6322211676052615 17.6945710469643985 26.0563629445970601 32.9863752704641478 43.5142469676428877 56.7368522794071054 74.2194796871112652 96.9999999999999999
result:
ok 10 numbers
Test #48:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
0.94 0.54 10 28 95
output:
28.0000000000000000 0.4525463071458404 15.5453935287170900 14.8570449228528185 22.3601347329888780 29.0413309073500673 39.3733238087230574 52.6932430701687103 70.7932433426690387 95.0000000000000000
result:
ok 10 numbers
Test #49:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
0.95 0.57 10 2 94
output:
2.0000000000000000 9.2272841741610597 9.9059199654530068 14.6701759464521605 19.5830415294377663 26.9658897424436095 36.7799289271009559 50.3114896339387656 68.7604746406893722 94.0000000000000000
result:
ok 10 numbers
Test #50:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
0.98 0.90 10 21 99
output:
21.0000000000000000 -8.2131934849701753 10.8510703847292281 3.2421748405614857 12.9432946900065613 15.6023861527117673 26.9393036506634372 40.4426651150907591 63.8791850983860375 99.0000000000000000
result:
ok 10 numbers
Extra Test:
score: 0
Extra Test Passed