QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#436677#8795. Mysterious Sequenceucup-team572#AC ✓1ms4064kbC++20930b2024-06-09 02:37:572024-06-09 02:37:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3952kb

input:

1.0 1.0 10 1 10

output:

1
-0.323529411764706
0.676470588235294
0.352941176470588
1.02941176470588
1.38235294117647
2.41176470588235
3.79411764705882
6.20588235294118
10

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1
100

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50
0
50
50
100

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1
55.8755364806867
14.2188841201717
17.5236051502146
7.93562231759657
6.36480686695279
3.57510729613734
2.48497854077253
1.51502145922747
1

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93
-14.204807958665
55.0387980103337
4.81067048862446
35.8771103686664
12

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5
78.7695361835314
23.6923840458828
68.9387249582958
36.1885884762802
64.1981270857067
45.0004025524509
62.6086023066781
51.6524726186302
63

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18
48.72
30

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6
20.9504033485078
9.70611293758219
16.125969765568
10.7271838144116
13.3242321179988
10.5961826342631
11.4944396931129
10

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10
240.115063998688
78.4356698395933
120.361083249749
68.6862037432596
69.4371564603102
49

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36
10.1213768115942
13.3188405797101
7.09601449275362
6

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86
79.5339247862308
83.7368736751808
81.0049568973633
82.7807028029447
81.6264679643168
82.3767206094249
81.8890563901046
82.2060381326628
82

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72
38.2399186426057
62.726370711338
48.5846381330536
60.1444018116091
54.6895385826557
60.5864271216503
59

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93
84

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65
-16.6174236628181
54.7559851151037
9.23502643664238
56.813857871355
35

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19
-6.56521739130435
13.8173913043478
1

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16
30.3703703703704
22

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74
-48.3219370765765
39.2829346078829
-21.4009099638175
23.1913113209162
-6.29158864129369
17.1798933229039
3.84942743684574
17.4072901476496
13

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31
137.214285714286
88

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71
-34.080565361686
46.604077743839
-5.13060147237979
40.4173494625138
18.2664298243196
48

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30
89.4321216828098
64.1706305760297
73.8861356240492
69.1639171981207
70.4083875807702
69.1940708480762
69

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31
99.5576135384172
72.933415852282
91.084611828148
88.566448627944
96

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62
34.4076512571337
38.9686672668516
33.7491058973482
31.8878681047694
29.2388402541403
27.0831743054087
25

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37
-5.88785330217688
29.2206524196286
13.1688215854286
34.3027382522894
33.3309763099738
51.5279521198211
62.1271787513639
85

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74
42

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94
96

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97
-61.7035762791176
47.1926754185736
-24.857979629133
26.3157211177798
-5.26696293966283
20.260623095221
8.42913836619708
23.713500723727
22.9999999999999

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70
0.547821506509144
61.9670404093611
42

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2
22.3659076870161
16.2124763040411
19.9093126477247
20.0602914855061
21.6062330576118
22.7318144890995
24.1113828899473
25.5022618448124
27

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88
11.8436095975528
58.3320906223114
47

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4
6.83889036269107
8.41561215751066
12.0616970546276
16.0536997289701
22.1330371861874
30.0022491609764
41

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21
19.9404423699403
24.647118506357
27.5167420858478
31.8891423699254
36.4433861284117
41.8649177737198
48

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57
-5.48648648648648
29

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91
18

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31
5.21497208502642
15.1755285054703
13.5625468998217
15.906351374832
17.1304074425565
18.916700225708
20.7328058531155
22.7742725881538
25

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78
-40.097557007605
44.0048811041442
-4.60989627710978
38.6950657266039
25.3697001834596
56.6819322388036
68

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73
8.72754750605293
44.7674870547213
39.4569646058301
54.0555256610026
62.6809316106137
77

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42
57.2979051139864
73.6723659889094
97

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54
-13.0128863508997
27.6499486462982
12.4579394984828
29.0721568612254
31.3968400006938
44.8400450033989
56.9530231031368
75.811389522826
99

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97
-43.7347369590405
39.6069051719484
-2.345014054751
28.272136967975
20.2700561534098
37.2974678953206
44.4972676349415
63.0539443556981
83

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100
-63.2695788173641
45.649728522456
-24.4993116289803
24.2577790257286
-4.35327840746294
19.6493329166211
11.1908651878746
27.3957411173322
32

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98
-58.2469146280414
42.1849374438473
-19.0961225845979
22.8805068576303
0.889090091389861
21.2948373440652
17.6231025840624
33.087604651068
41.9999999999999

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97
-38.2575016815992
15.5714236379046
-5.75074766046488
2.81617774121767
-0.479254906636833
0.963568841408645
0.550448406355323
0.908376253023961
0.999999999999963

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20
-3.3328428696514
14.5003972755824
8.87907692532151
19.6623939665112
23.5625452686506
35.9953204788067
49.4199985188729
70.9861744120608
100

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74
-36.2908048770983
32.4157239032374
-3.6179760668141
24.514265421628
17.5167032973755
35.5511563781792
44.7521691604397
67.8103050162217
94.9999999999999

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3
29.0218284903764
26.6492090715312
34.1893805243868
39.9468622179269
47.8033095457988
56.8472514209359
67.7128057823691
80.6207521142311
96

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100
-22.5868578544844
29.4459593524192
15.5023940834592
28.8301582921575
33.9866410875929
45.3429225357883
58.2553800513638
75.6838571146352
98

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44
-1.5827434387178
19.6322211676053
17.6945710469644
26.0563629445971
32.9863752704642
43.5142469676429
56.7368522794071
74.2194796871113
97

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28
0.452546307145841
15.5453935287171
14.8570449228528
22.3601347329889
29.0413309073501
39.3733238087231
52.6932430701687
70.793243342669
95

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2
9.22728417416106
9.90591996545301
14.6701759464522
19.5830415294378
26.9658897424436
36.779928927101
50.3114896339388
68.7604746406894
94

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21
-8.21319348497018
10.8510703847292
3.24217484056148
12.9432946900066
15.6023861527118
26.9393036506634
40.4426651150907
63.879185098386
99

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed