QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#436850#8795. Mysterious Sequenceucup-team3620#AC ✓1ms3984kbC++201.6kb2024-06-09 03:30:132024-06-09 03:30:14

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3924kb

input:

1.0 1.0 10 1 10

output:

1
-0.32352941176470588231
0.67647058823529411769
0.35294117647058823538
1.02941176470588235308
1.38235294117647058846
2.41176470588235294197
3.79411764705882353097
6.20588235294117647337
10.00000000000000000520

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3856kb

input:

1 1 2 1 100

output:

1
100.00000000000000000000

result:

ok 2 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3976kb

input:

1 1 5 50 100

output:

50
0.00000000000000000000
50.00000000000000000000
50.00000000000000000000
100.00000000000000000000

result:

ok 5 numbers

Test #4:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

0.25 0.25 10 1 1

output:

1
55.87553648068669527940
14.21888412017167381985
17.52360515021459227460
7.93562231759656652383
6.36480686695278970004
3.57510729613733905553
2.48497854077253218868
1.51502145922746781132
0.99999999999999999967

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 3908kb

input:

0.25 0.63 6 93 12

output:

93
-14.20480795866504415692
55.03879801033374237137
4.81067048862445858625
35.87711036866637367634
12.00000000000000114058

result:

ok 6 numbers

Test #6:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

0.25 0.80 10 5 63

output:

5
78.76953618353135239821
23.69238404588283809955
68.93872495829579494925
36.18858847628022026854
64.19812708570668953467
45.00040255245084770339
62.60860230667806320543
51.65247261863019383882
62.99999999999999987857

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 0ms
memory: 3976kb

input:

0.25 0.99 3 18 30

output:

18
48.72000000000000108358
30.00000000000000055511

result:

ok 3 numbers

Test #8:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

0.28 0.64 9 6 10

output:

6
20.95040334850780410457
9.70611293758218521797
16.12596976556800730702
10.72718381441164067856
13.32423211799878366799
10.59618263426310958222
11.49443969311289201474
10.00000000000000007720

result:

ok 9 numbers

Test #9:

score: 0
Accepted
time: 0ms
memory: 3908kb

input:

0.31 0.40 7 10 49

output:

10
240.11506399868825539778
78.43566983959336361837
120.36108324974924513318
68.68620374325961323858
69.43715646031017699191
48.99999999999999996184

result:

ok 7 numbers

Test #10:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

0.32 0.28 5 36 6

output:

36
10.12137681159420129259
13.31884057971014613704
7.09601449275362301848
6.00000000000000011796

result:

ok 5 numbers

Test #11:

score: 0
Accepted
time: 0ms
memory: 3920kb

input:

0.35 0.65 10 86 82

output:

86
79.53392478623083038103
83.73687367518079135986
81.00495689736331970943
82.78070280294467649801
81.62646796431679267064
82.37672060942491713414
81.88905639010463711341
82.20603813266281905542
81.99999999999999926448

result:

ok 10 numbers

Test #12:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

0.36 0.68 8 72 59

output:

72
38.23991864260569442310
62.72637071133805275816
48.58463813305357212671
60.14440181160915854450
54.68953858265572833680
60.58642712165029609039
59.00000000000000338271

result:

ok 8 numbers

Test #13:

score: 0
Accepted
time: 0ms
memory: 3860kb

input:

0.43 0.61 2 93 84

output:

93
83.99999999999999811262

result:

ok 2 numbers

Test #14:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

0.46 0.96 6 65 35

output:

65
-16.61742366281804898775
54.75598511510369713340
9.23502643664237633271
56.81385787135504148587
34.99999999999999885508

result:

ok 6 numbers

Test #15:

score: 0
Accepted
time: 0ms
memory: 3924kb

input:

0.50 0.90 4 19 1

output:

19
-6.56521739130434710437
13.81739130434782786890
1.00000000000000030488

result:

ok 4 numbers

Test #16:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

0.54 0.35 3 16 22

output:

16
30.37037037037037006705
22.00000000000000000000

result:

ok 3 numbers

Test #17:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

0.55 0.89 10 74 13

output:

74
-48.32193707657652045895
39.28293460788290785562
-21.40090996381750242453
23.19131132091615823954
-6.29158864129368961080
17.17989332290385587516
3.84942743684574352849
17.40729014764957085712
12.99999999999999709694

result:

ok 10 numbers

Test #18:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

0.56 0.36 3 31 88

output:

31
137.21428571428570883373
88.00000000000000055511

result:

ok 3 numbers

Test #19:

score: 0
Accepted
time: 0ms
memory: 3876kb

input:

0.57 0.93 7 71 48

output:

71
-34.08056536168602696640
46.60407774383896986614
-5.13060147237978219151
40.41734946251376960069
18.26642982431966225065
48.00000000000000523540

result:

ok 7 numbers

Test #20:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

0.58 0.41 8 30 69

output:

30
89.43212168280980900459
64.17063057602968823012
73.88613562404924078875
69.16391719812073309026
70.40838758077021466986
69.19407084807622660555
69.00000000000000056899

result:

ok 8 numbers

Test #21:

score: 0
Accepted
time: 0ms
memory: 3904kb

input:

0.58 0.49 6 31 96

output:

31
99.55761353841717105351
72.93341585228195902979
91.08461182814795406570
88.56644862794397465161
95.99999999999999963224

result:

ok 6 numbers

Test #22:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

0.61 0.29 8 62 25

output:

62
34.40765125713371763022
38.96866726685156821081
33.74910589734823520430
31.88786810476937839259
29.23884025414030832582
27.08317430540870658640
24.99999999999999949346

result:

ok 8 numbers

Test #23:

score: 0
Accepted
time: 0ms
memory: 3916kb

input:

0.63 0.89 9 37 85

output:

37
-5.88785330217688497589
29.22065241962855954537
13.16882158542856559851
34.30273825228941349946
33.33097630997375502432
51.52795211982105132859
62.12717875136390657115
84.99999999999999931999

result:

ok 9 numbers

Test #24:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

0.64 0.67 2 74 42

output:

74
42.00000000000000244249

result:

ok 2 numbers

Test #25:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

0.65 0.56 2 94 96

output:

94
96.00000000000000266454

result:

ok 2 numbers

Test #26:

score: 0
Accepted
time: 0ms
memory: 3972kb

input:

0.65 0.90 10 97 23

output:

97
-61.70357627911757048000
47.19267541857358199547
-24.85797962913297089876
26.31572111777980485514
-5.26696293966278536111
20.26062309522100616209
8.42913836619713869799
23.71350072372703877803
22.99999999999998833052

result:

ok 10 numbers

Test #27:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

0.67 0.88 4 70 42

output:

70
0.54782150650914256118
61.96704040936112495644
41.99999999999999700240

result:

ok 4 numbers

Test #28:

score: 0
Accepted
time: 0ms
memory: 3928kb

input:

0.69 0.39 10 2 27

output:

2
22.36590768701612421711
16.21247630404112586786
19.90931264772466670679
20.06029148550605884643
21.60623305761180085009
22.73181448909950573903
24.11138288994726128212
25.50226184481241797040
26.99999999999999999653

result:

ok 10 numbers

Test #29:

score: 0
Accepted
time: 0ms
memory: 3972kb

input:

0.69 0.57 4 88 47

output:

88
11.84360959755281960185
58.33209062231144272082
46.99999999999999822364

result:

ok 4 numbers

Test #30:

score: 0
Accepted
time: 0ms
memory: 3976kb

input:

0.71 0.89 8 4 41

output:

4
6.83889036269107200485
8.41561215751066128959
12.06169705462762387332
16.05369972897010135207
22.13303718618735679846
30.00224916097641293493
41.00000000000000000000

result:

ok 8 numbers

Test #31:

score: 0
Accepted
time: 0ms
memory: 3916kb

input:

0.72 0.49 8 21 48

output:

21
19.94044236994030118784
24.64711850635701676990
27.51674208584780170588
31.88914236992535545905
36.44338612841167704404
41.86491777371983076528
47.99999999999999973632

result:

ok 8 numbers

Test #32:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

0.74 0.58 3 57 29

output:

57
-5.48648648648648721432
28.99999999999999683413

result:

ok 3 numbers

Test #33:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

0.76 0.70 2 91 18

output:

91
17.99999999999999977796

result:

ok 2 numbers

Test #34:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

0.77 0.36 10 31 25

output:

31
5.21497208502642284247
15.17552850547034536642
13.56254689982167777572
15.90635137483201726194
17.13040744255645738379
18.91670022570799737822
20.73280585311548187590
22.77427258815379981609
25.00000000000000099226

result:

ok 10 numbers

Test #35:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

0.77 0.96 8 78 68

output:

78
-40.09755700760498887264
44.00488110414415723892
-4.60989627710977249025
38.69506572660386285734
25.36970018345959079417
56.68193223880358873334
67.99999999999999125699

result:

ok 8 numbers

Test #36:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

0.78 0.52 7 73 77

output:

73
8.72754750605292757212
44.76748705472128475602
39.45696460583012919049
54.05552566100256895246
62.68093161061367096093
76.99999999999999524686

result:

ok 7 numbers

Test #37:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

0.78 0.69 4 42 97

output:

42
57.29790511398644213548
73.67236598890942712858
97.00000000000000099920

result:

ok 4 numbers

Test #38:

score: 0
Accepted
time: 0ms
memory: 3884kb

input:

0.78 0.70 10 54 99

output:

54
-13.01288635089968698938
27.64994864629823615593
12.45793949848284088051
29.07215686122538425389
31.39684000069378483344
44.84004500339891449018
56.95302310313680570902
75.81138952282595197540
99.00000000000000501682

result:

ok 10 numbers

Test #39:

score: 0
Accepted
time: 0ms
memory: 3908kb

input:

0.78 0.76 10 97 83

output:

97
-43.73473695904048180738
39.60690517194841553383
-2.34501405475099665432
28.27213696797501569016
20.27005615340976212371
37.29746789532062820061
44.49726763494151443590
63.05394435569803689157
83.00000000000000194289

result:

ok 10 numbers

Test #40:

score: 0
Accepted
time: 0ms
memory: 3972kb

input:

0.78 0.95 10 100 32

output:

100
-63.26957881736411819229
45.64972852245597582238
-24.49931162898024866736
24.25777902572859447139
-4.35327840746293893634
19.64933291662106036243
11.19086518787464184718
27.39574111733224966864
32.00000000000001459943

result:

ok 10 numbers

Test #41:

score: 0
Accepted
time: 1ms
memory: 3916kb

input:

0.79 0.90 10 98 42

output:

98
-58.24691462804136013465
42.18493744384733077496
-19.09612258459783988573
22.88050685763029808151
0.88909009138988119927
21.29483734406527646599
17.62310258406245678034
33.08760465106806135036
42.00000000000000153696

result:

ok 10 numbers

Test #42:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

0.81 0.48 10 97 1

output:

97
-38.25750168159920984456
15.57142363790464146406
-5.75074766046486237150
2.81617774121769167545
-0.47925490663681170368
0.96356884140866776341
0.55044840635535349088
0.90837625302399358038
1.00000000000000077716

result:

ok 10 numbers

Test #43:

score: 0
Accepted
time: 0ms
memory: 3984kb

input:

0.81 0.86 10 20 100

output:

20
-3.33284286965140341512
14.50039727558236415765
8.87907692532151075239
19.66239396651125710506
23.56254526865061844909
35.99532047880667707390
49.41999851887294084585
70.98617441206082956384
100.00000000000000922873

result:

ok 10 numbers

Test #44:

score: 0
Accepted
time: 0ms
memory: 3916kb

input:

0.84 0.85 10 74 95

output:

74
-36.29080487709828962972
32.41572390323743133728
-3.61797606681410224144
24.51426542162798865102
17.51670329737552469704
35.55115637817923815792
44.75216916043974136469
67.81030501622169696929
94.99999999999996880273

result:

ok 10 numbers

Test #45:

score: 0
Accepted
time: 0ms
memory: 3860kb

input:

0.88 0.37 10 3 96

output:

3
29.02182849037642232981
26.64920907153125079030
34.18938052438677662609
39.94686221792692810625
47.80330954579880438707
56.84725142093591211678
67.71280578236916048579
80.62075211423114804582
95.99999999999999990979

result:

ok 10 numbers

Test #46:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

0.91 0.50 10 100 98

output:

100
-22.58685785448442644857
29.44595935241916954267
15.50239408345922829946
28.83015829215748764350
33.98664108759292908080
45.34292253578831709618
58.25538005136383703370
75.68385711463525990228
98.00000000000001040140

result:

ok 10 numbers

Test #47:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

0.94 0.48 10 44 97

output:

44
-1.58274343871780788333
19.63222116760525909861
17.69457104696439780391
26.05636294459706048601
32.98637527046415150733
43.51424696764289012929
56.73685227940710344707
74.21947968711126384506
96.99999999999999965999

result:

ok 10 numbers

Test #48:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

0.94 0.54 10 28 95

output:

28
0.45254630714583913599
15.54539352871709041812
14.85704492285282005051
22.36013473298888231539
29.04133090735006820192
39.37332380872305835628
52.69324307016871080170
70.79324334266904569096
95.00000000000000321271

result:

ok 10 numbers

Test #49:

score: 0
Accepted
time: 0ms
memory: 3924kb

input:

0.95 0.57 10 2 94

output:

2
9.22728417416105901969
9.90591996545300612111
14.67017594645215987099
19.58304152943776596865
26.96588974244360841642
36.77992892710095457209
50.31148963393876416203
68.76047464068937263570
93.99999999999999999306

result:

ok 10 numbers

Test #50:

score: 0
Accepted
time: 0ms
memory: 3912kb

input:

0.98 0.90 10 21 99

output:

21
-8.21319348497017395760
10.85107038472922667653
3.24217484056148247049
12.94329469000656484927
15.60238615271176623213
26.93930365066342435751
40.44266511509074445499
63.87918509838603321402
98.99999999999999093780

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed