QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#519185#8795. Mysterious Sequenceucup-team3727AC ✓25ms12696kbPython35.3kb2024-08-14 17:09:412024-08-14 17:09:41

详细

Test #1:

score: 100
Accepted
time: 21ms
memory: 12480kb

input:

1.0 1.0 10 1 10

output:

1
-0.32352941176470595
0.676470588235294
0.3529411764705881
1.0294117647058822
1.3823529411764703
2.4117647058823524
3.7941176470588225
6.205882352941175
9.999999999999996

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 22ms
memory: 12568kb

input:

1 1 2 1 100

output:

1
100.0

result:

ok 2 numbers

Test #3:

score: 0
Accepted
time: 14ms
memory: 12696kb

input:

1 1 5 50 100

output:

50
3.552713678800501e-15
50.0
50.0
100.0

result:

ok 5 numbers

Test #4:

score: 0
Accepted
time: 16ms
memory: 12588kb

input:

0.25 0.25 10 1 1

output:

1
55.87553648068672
14.21888412017168
17.5236051502146
7.93562231759657
6.364806866952792
3.5751072961373405
2.4849785407725333
1.5150214592274684
1.0000000000000004

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 20ms
memory: 12456kb

input:

0.25 0.63 6 93 12

output:

93
-14.204807958665043
55.03879801033374
4.810670488624458
35.87711036866637
12.000000000000002

result:

ok 6 numbers

Test #6:

score: 0
Accepted
time: 18ms
memory: 12552kb

input:

0.25 0.80 10 5 63

output:

5
78.76953618353136
23.69238404588284
68.9387249582958
36.188588476280216
64.19812708570669
45.00040255245085
62.608602306678065
51.6524726186302
63.0

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 12ms
memory: 12552kb

input:

0.25 0.99 3 18 30

output:

18
48.72000000000001
30.000000000000004

result:

ok 3 numbers

Test #8:

score: 0
Accepted
time: 14ms
memory: 12532kb

input:

0.28 0.64 9 6 10

output:

6
20.950403348507805
9.706112937582187
16.12596976556801
10.727183814411642
13.324232117998786
10.596182634263112
11.494439693112895
10.000000000000004

result:

ok 9 numbers

Test #9:

score: 0
Accepted
time: 23ms
memory: 12464kb

input:

0.31 0.40 7 10 49

output:

10
240.1150639986883
78.43566983959337
120.36108324974927
68.68620374325963
69.43715646031019
49.000000000000014

result:

ok 7 numbers

Test #10:

score: 0
Accepted
time: 24ms
memory: 12548kb

input:

0.32 0.28 5 36 6

output:

36
10.1213768115942
13.318840579710146
7.096014492753623
6.000000000000001

result:

ok 5 numbers

Test #11:

score: 0
Accepted
time: 16ms
memory: 12484kb

input:

0.35 0.65 10 86 82

output:

86
79.53392478623087
83.7368736751808
81.00495689736334
82.78070280294469
81.62646796431682
82.37672060942494
81.88905639010466
82.20603813266284
82.00000000000003

result:

ok 10 numbers

Test #12:

score: 0
Accepted
time: 15ms
memory: 12492kb

input:

0.36 0.68 8 72 59

output:

72
38.2399186426057
62.72637071133805
48.58463813305357
60.14440181160916
54.68953858265573
60.586427121650296
59.0

result:

ok 8 numbers

Test #13:

score: 0
Accepted
time: 15ms
memory: 12584kb

input:

0.43 0.61 2 93 84

output:

93
84.0

result:

ok 2 numbers

Test #14:

score: 0
Accepted
time: 24ms
memory: 12584kb

input:

0.46 0.96 6 65 35

output:

65
-16.61742366281804
54.7559851151037
9.235026436642384
56.81385787135505
35.000000000000014

result:

ok 6 numbers

Test #15:

score: 0
Accepted
time: 18ms
memory: 12536kb

input:

0.50 0.90 4 19 1

output:

19
-6.565217391304348
13.817391304347828
1.0000000000000009

result:

ok 4 numbers

Test #16:

score: 0
Accepted
time: 25ms
memory: 12428kb

input:

0.54 0.35 3 16 22

output:

16
30.370370370370374
22.0

result:

ok 3 numbers

Test #17:

score: 0
Accepted
time: 17ms
memory: 12568kb

input:

0.55 0.89 10 74 13

output:

74
-48.32193707657652
39.28293460788291
-21.400909963817497
23.191311320916167
-6.29158864129368
17.17989332290386
3.8494274368457484
17.407290147649597
12.999999999999996

result:

ok 10 numbers

Test #18:

score: 0
Accepted
time: 16ms
memory: 12572kb

input:

0.56 0.36 3 31 88

output:

31
137.21428571428572
88.00000000000001

result:

ok 3 numbers

Test #19:

score: 0
Accepted
time: 20ms
memory: 12652kb

input:

0.57 0.93 7 71 48

output:

71
-34.08056536168601
46.60407774383897
-5.13060147237978
40.417349462513776
18.266429824319655
48.000000000000014

result:

ok 7 numbers

Test #20:

score: 0
Accepted
time: 19ms
memory: 12488kb

input:

0.58 0.41 8 30 69

output:

30
89.43212168280985
64.17063057602971
73.88613562404927
69.16391719812076
70.40838758077024
69.19407084807624
69.00000000000001

result:

ok 8 numbers

Test #21:

score: 0
Accepted
time: 24ms
memory: 12552kb

input:

0.58 0.49 6 31 96

output:

31
99.5576135384172
72.93341585228197
91.08461182814797
88.56644862794398
96.0

result:

ok 6 numbers

Test #22:

score: 0
Accepted
time: 16ms
memory: 12428kb

input:

0.61 0.29 8 62 25

output:

62
34.407651257133736
38.96866726685158
33.74910589734825
31.887868104769392
29.23884025414032
27.08317430540872
25.00000000000001

result:

ok 8 numbers

Test #23:

score: 0
Accepted
time: 25ms
memory: 12552kb

input:

0.63 0.89 9 37 85

output:

37
-5.887853302176879
29.220652419628564
13.168821585428573
34.30273825228942
33.330976309973764
51.52795211982106
62.127178751363914
85.0

result:

ok 9 numbers

Test #24:

score: 0
Accepted
time: 21ms
memory: 12568kb

input:

0.64 0.67 2 74 42

output:

74
42.0

result:

ok 2 numbers

Test #25:

score: 0
Accepted
time: 16ms
memory: 12548kb

input:

0.65 0.56 2 94 96

output:

94
96.0

result:

ok 2 numbers

Test #26:

score: 0
Accepted
time: 12ms
memory: 12428kb

input:

0.65 0.90 10 97 23

output:

97
-61.703576279117556
47.192675418573586
-24.85797962913297
26.3157211177798
-5.266962939662804
20.260623095220996
8.429138366197124
23.713500723727027
22.99999999999998

result:

ok 10 numbers

Test #27:

score: 0
Accepted
time: 17ms
memory: 12480kb

input:

0.67 0.88 4 70 42

output:

70
0.5478215065091445
61.967040409361125
42.0

result:

ok 4 numbers

Test #28:

score: 0
Accepted
time: 14ms
memory: 12568kb

input:

0.69 0.39 10 2 27

output:

2
22.365907687016133
16.212476304041132
19.909312647724676
20.060291485506067
21.60623305761181
22.731814489099513
24.11138288994727
25.502261844812423
27.000000000000007

result:

ok 10 numbers

Test #29:

score: 0
Accepted
time: 19ms
memory: 12536kb

input:

0.69 0.57 4 88 47

output:

88
11.843609597552824
58.33209062231144
47.0

result:

ok 4 numbers

Test #30:

score: 0
Accepted
time: 21ms
memory: 12464kb

input:

0.71 0.89 8 4 41

output:

4
6.838890362691075
8.415612157510663
12.061697054627627
16.053699728970106
22.133037186187362
30.00224916097642
41.00000000000001

result:

ok 8 numbers

Test #31:

score: 0
Accepted
time: 24ms
memory: 12588kb

input:

0.72 0.49 8 21 48

output:

21
19.940442369940307
24.647118506357018
27.516742085847802
31.889142369925352
36.443386128411674
41.864917773719824
47.99999999999999

result:

ok 8 numbers

Test #32:

score: 0
Accepted
time: 24ms
memory: 12480kb

input:

0.74 0.58 3 57 29

output:

57
-5.486486486486477
29.0

result:

ok 3 numbers

Test #33:

score: 0
Accepted
time: 24ms
memory: 12536kb

input:

0.76 0.70 2 91 18

output:

91
18.0

result:

ok 2 numbers

Test #34:

score: 0
Accepted
time: 17ms
memory: 12544kb

input:

0.77 0.36 10 31 25

output:

31
5.214972085026421
15.175528505470345
13.562546899821678
15.906351374832015
17.130407442556454
18.916700225707995
20.73280585311548
22.774272588153796
24.999999999999993

result:

ok 10 numbers

Test #35:

score: 0
Accepted
time: 19ms
memory: 12548kb

input:

0.77 0.96 8 78 68

output:

78
-40.097557007604976
44.00488110414416
-4.609896277109776
38.695065726603865
25.369700183459592
56.6819322388036
67.99999999999997

result:

ok 8 numbers

Test #36:

score: 0
Accepted
time: 19ms
memory: 12636kb

input:

0.78 0.52 7 73 77

output:

73
8.727547506052925
44.767487054721286
39.45696460583013
54.05552566100258
62.68093161061368
77.00000000000001

result:

ok 7 numbers

Test #37:

score: 0
Accepted
time: 24ms
memory: 12488kb

input:

0.78 0.69 4 42 97

output:

42
57.29790511398646
73.67236598890943
97.00000000000001

result:

ok 4 numbers

Test #38:

score: 0
Accepted
time: 15ms
memory: 12480kb

input:

0.78 0.70 10 54 99

output:

54
-13.012886350899699
27.64994864629823
12.457939498482833
29.072156861225373
31.39684000069377
44.8400450033989
56.95302310313678
75.81138952282592
98.99999999999997

result:

ok 10 numbers

Test #39:

score: 0
Accepted
time: 16ms
memory: 12424kb

input:

0.78 0.76 10 97 83

output:

97
-43.73473695904049
39.60690517194842
-2.345014054751001
28.27213696797502
20.270056153409755
37.29746789532062
44.4972676349415
63.05394435569805
83.00000000000003

result:

ok 10 numbers

Test #40:

score: 0
Accepted
time: 20ms
memory: 12532kb

input:

0.78 0.95 10 100 32

output:

100
-63.269578817364135
45.64972852245597
-24.499311628980266
24.257779025728563
-4.35327840746297
19.649332916621017
11.190865187874572
27.39574111733213
31.9999999999999

result:

ok 10 numbers

Test #41:

score: 0
Accepted
time: 19ms
memory: 12424kb

input:

0.79 0.90 10 98 42

output:

98
-58.24691462804137
42.18493744384732
-19.09612258459785
22.880506857630287
0.8890900913898605
21.294837344065247
17.62310258406242
33.087604651068034
41.99999999999993

result:

ok 10 numbers

Test #42:

score: 0
Accepted
time: 12ms
memory: 12584kb

input:

0.81 0.48 10 97 1

output:

97
-38.25750168159921
15.571423637904633
-5.750747660464864
2.8161777412176834
-0.47925490663681103
0.963568841408671
0.5504484063553543
0.9083762530239992
1.0000000000000093

result:

ok 10 numbers

Test #43:

score: 0
Accepted
time: 24ms
memory: 12536kb

input:

0.81 0.86 10 20 100

output:

20
-3.332842869651401
14.500397275582365
8.879076925321511
19.66239396651126
23.562545268650624
35.99532047880669
49.41999851887296
70.98617441206085
100.00000000000003

result:

ok 10 numbers

Test #44:

score: 0
Accepted
time: 24ms
memory: 12428kb

input:

0.84 0.85 10 74 95

output:

74
-36.29080487709828
32.41572390323744
-3.617976066814091
24.51426542162799
17.516703297375532
35.551156378179236
44.752169160439756
67.81030501622175
95.00000000000006

result:

ok 10 numbers

Test #45:

score: 0
Accepted
time: 25ms
memory: 12584kb

input:

0.88 0.37 10 3 96

output:

3
29.02182849037642
26.64920907153125
34.18938052438678
39.94686221792693
47.803309545798804
56.84725142093591
67.71280578236916
80.62075211423115
96.00000000000001

result:

ok 10 numbers

Test #46:

score: 0
Accepted
time: 17ms
memory: 12516kb

input:

0.91 0.50 10 100 98

output:

100
-22.58685785448442
29.445959352419177
15.50239408345924
28.8301582921575
33.98664108759294
45.34292253578833
58.25538005136386
75.68385711463529
98.00000000000004

result:

ok 10 numbers

Test #47:

score: 0
Accepted
time: 20ms
memory: 12484kb

input:

0.94 0.48 10 44 97

output:

44
-1.5827434387177974
19.63222116760527
17.69457104696441
26.05636294459707
32.98637527046416
43.5142469676429
56.73685227940712
74.21947968711127
97.00000000000001

result:

ok 10 numbers

Test #48:

score: 0
Accepted
time: 16ms
memory: 12428kb

input:

0.94 0.54 10 28 95

output:

28
0.45254630714584443
15.545393528717094
14.857044922852824
22.360134732988882
29.041330907350073
39.373323808723065
52.69324307016872
70.79324334266904
95.0

result:

ok 10 numbers

Test #49:

score: 0
Accepted
time: 24ms
memory: 12468kb

input:

0.95 0.57 10 2 94

output:

2
9.22728417416106
9.905919965453007
14.67017594645216
19.583041529437764
26.965889742443608
36.779928927100954
50.31148963393876
68.76047464068937
94.0

result:

ok 10 numbers

Test #50:

score: 0
Accepted
time: 12ms
memory: 12424kb

input:

0.98 0.90 10 21 99

output:

21
-8.213193484970176
10.85107038472923
3.2421748405614865
12.943294690006564
15.602386152711771
26.939303650663444
40.44266511509077
63.87918509838606
99.00000000000003

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed