QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#433706#8795. Mysterious Sequenceucup-team3613#AC ✓1ms3976kbC++171.1kb2024-06-08 13:16:002024-06-08 13:16:01

详细

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1
-0.3235294119
0.6764705881
0.3529411762
1.0294117643
1.3823529404
2.4117647047
3.7941176452
6.2058823499
10

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1
100

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50
0.0000000000
50.0000000000
50.0000000000
100

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1
55.8755364807
14.2188841202
17.5236051502
7.9356223176
6.3648068670
3.5751072961
2.4849785408
1.5150214592
1

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93
-14.2048079587
55.0387980103
4.8106704886
35.8771103686
12

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5
78.7695361834
23.6923840459
68.9387249582
36.1885884762
64.1981270856
45.0004025524
62.6086023066
51.6524726186
63

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18
48.7199999999
30

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6
20.9504033484
9.7061129375
16.1259697655
10.7271838144
13.3242321179
10.5961826342
11.4944396931
10

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10
240.1150639985
78.4356698396
120.3610832497
68.6862037432
69.4371564603
49

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36
10.1213768115
13.3188405797
7.0960144927
6

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86
79.5339247861
83.7368736751
81.0049568973
82.7807028029
81.6264679642
82.3767206093
81.8890563900
82.2060381326
82

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72
38.2399186425
62.7263707113
48.5846381329
60.1444018115
54.6895385826
60.5864271216
59

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93
84

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65
-16.6174236630
54.7559851150
9.2350264365
56.8138578712
35

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19
-6.5652173914
13.8173913043
1

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16
30.3703703702
22

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74
-48.3219370766
39.2829346078
-21.4009099639
23.1913113208
-6.2915886414
17.1798933228
3.8494274367
17.4072901474
13

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31
137.2142857143
88

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71
-34.0805653618
46.6040777438
-5.1306014725
40.4173494624
18.2664298241
48

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30
89.4321216827
64.1706305760
73.8861356240
69.1639171981
70.4083875807
69.1940708480
69

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31
99.5576135384
72.9334158523
91.0846118281
88.5664486279
96

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62
34.4076512570
38.9686672668
33.7491058973
31.8878681047
29.2388402541
27.0831743053
25

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37
-5.8878533022
29.2206524196
13.1688215854
34.3027382522
33.3309763099
51.5279521197
62.1271787513
85

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74
42

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94
96

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97
-61.7035762792
47.1926754185
-24.8579796293
26.3157211176
-5.2669629399
20.2606230949
8.4291383658
23.7135007232
23

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70
0.5478215064
61.9670404093
42

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2
22.3659076869
16.2124763040
19.9093126477
20.0602914854
21.6062330575
22.7318144890
24.1113828899
25.5022618447
27

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88
11.8436095975
58.3320906223
47

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4
6.8388903626
8.4156121574
12.0616970545
16.0536997288
22.1330371859
30.0022491606
41

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21
19.9404423699
24.6471185063
27.5167420858
31.8891423699
36.4433861283
41.8649177736
48

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57
-5.4864864865
29

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91
18

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31
5.2149720849
15.1755285054
13.5625468997
15.9063513747
17.1304074424
18.9167002256
20.7328058529
22.7742725880
25

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78
-40.0975570076
44.0048811041
-4.6098962771
38.6950657266
25.3697001834
56.6819322387
68

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73
8.7275475059
44.7674870546
39.4569646057
54.0555256608
62.6809316104
77

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42
57.2979051139
73.6723659888
97

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54
-13.0128863510
27.6499486462
12.4579394983
29.0721568610
31.3968400004
44.8400450030
56.9530231026
75.8113895221
99

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97
-43.7347369591
39.6069051719
-2.3450140548
28.2721369679
20.2700561533
37.2974678952
44.4972676348
63.0539443555
83

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100
-63.2695788175
45.6497285223
-24.4993116292
24.2577790254
-4.3532784079
19.6493329160
11.1908651870
27.3957411161
32

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98
-58.2469146281
42.1849374438
-19.0961225847
22.8805068574
0.8890900911
21.2948373437
17.6231025835
33.0876046503
42

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97
-38.2575016817
15.5714236378
-5.7507476605
2.8161777411
-0.4792549067
0.9635688413
0.5504484062
0.9083762528
1

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20
-3.3328428697
14.5003972756
8.8790769253
19.6623939665
23.5625452686
35.9953204787
49.4199985188
70.9861744119
100

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74
-36.2908048772
32.4157239031
-3.6179760670
24.5142654213
17.5167032969
35.5511563776
44.7521691596
67.8103050150
95

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3
29.0218284903
26.6492090714
34.1893805243
39.9468622178
47.8033095456
56.8472514207
67.7128057821
80.6207521139
96

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100
-22.5868578546
29.4459593524
15.5023940834
28.8301582920
33.9866410874
45.3429225356
58.2553800511
75.6838571143
98

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44
-1.5827434388
19.6322211675
17.6945710469
26.0563629445
32.9863752703
43.5142469674
56.7368522791
74.2194796867
97

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28
0.4525463071
15.5453935287
14.8570449228
22.3601347329
29.0413309072
39.3733238085
52.6932430699
70.7932433423
95

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2
9.2272841741
9.9059199654
14.6701759464
19.5830415294
26.9658897423
36.7799289270
50.3114896337
68.7604746404
94

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21
-8.2131934851
10.8510703846
3.2421748403
12.9432946896
15.6023861521
26.9393036497
40.4426651136
63.8791850960
99

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed