QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#545583#8795. Mysterious Sequenceucup-team4204AC ✓0ms4028kbC++201.3kb2024-09-03 15:14:302024-09-03 15:14:30

详细

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.000000
-0.323529
0.676471
0.352941
1.029412
1.382353
2.411765
3.794118
6.205882
10.000000

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1.000000
100.000000

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50.000000
0.000000
50.000000
50.000000
100.000000

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1.000000
55.875536
14.218884
17.523605
7.935622
6.364807
3.575107
2.484979
1.515021
1.000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.000000
-14.204808
55.038798
4.810670
35.877110
12.000000

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.000000
78.769536
23.692384
68.938725
36.188588
64.198127
45.000403
62.608602
51.652473
63.000000

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.000000
48.720000
30.000000

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.000000
20.950403
9.706113
16.125970
10.727184
13.324232
10.596183
11.494440
10.000000

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10.000000
240.115064
78.435670
120.361083
68.686204
69.437156
49.000000

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36.000000
10.121377
13.318841
7.096014
6.000000

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.000000
79.533925
83.736874
81.004957
82.780703
81.626468
82.376721
81.889056
82.206038
82.000000

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.000000
38.239919
62.726371
48.584638
60.144402
54.689539
60.586427
59.000000

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93.000000
84.000000

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.000000
-16.617424
54.755985
9.235026
56.813858
35.000000

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.000000
-6.565217
13.817391
1.000000

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.000000
30.370370
22.000000

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.000000
-48.321937
39.282935
-21.400910
23.191311
-6.291589
17.179893
3.849427
17.407290
13.000000

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.000000
137.214286
88.000000

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.000000
-34.080565
46.604078
-5.130601
40.417349
18.266430
48.000000

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.000000
89.432122
64.170631
73.886136
69.163917
70.408388
69.194071
69.000000

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.000000
99.557614
72.933416
91.084612
88.566449
96.000000

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.000000
34.407651
38.968667
33.749106
31.887868
29.238840
27.083174
25.000000

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.000000
-5.887853
29.220652
13.168822
34.302738
33.330976
51.527952
62.127179
85.000000

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74.000000
42.000000

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94.000000
96.000000

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.000000
-61.703576
47.192675
-24.857980
26.315721
-5.266963
20.260623
8.429138
23.713501
23.000000

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.000000
0.547822
61.967040
42.000000

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.000000
22.365908
16.212476
19.909313
20.060291
21.606233
22.731814
24.111383
25.502262
27.000000

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.000000
11.843610
58.332091
47.000000

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.000000
6.838890
8.415612
12.061697
16.053700
22.133037
30.002249
41.000000

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.000000
19.940442
24.647119
27.516742
31.889142
36.443386
41.864918
48.000000

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57.000000
-5.486486
29.000000

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91.000000
18.000000

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.000000
5.214972
15.175529
13.562547
15.906351
17.130407
18.916700
20.732806
22.774273
25.000000

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78.000000
-40.097557
44.004881
-4.609896
38.695066
25.369700
56.681932
68.000000

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.000000
8.727548
44.767487
39.456965
54.055526
62.680932
77.000000

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.000000
57.297905
73.672366
97.000000

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54.000000
-13.012886
27.649949
12.457939
29.072157
31.396840
44.840045
56.953023
75.811390
99.000000

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.000000
-43.734737
39.606905
-2.345014
28.272137
20.270056
37.297468
44.497268
63.053944
83.000000

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.000000
-63.269579
45.649729
-24.499312
24.257779
-4.353278
19.649333
11.190865
27.395741
32.000000

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.000000
-58.246915
42.184937
-19.096123
22.880507
0.889090
21.294837
17.623103
33.087605
42.000000

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.000000
-38.257502
15.571424
-5.750748
2.816178
-0.479255
0.963569
0.550448
0.908376
1.000000

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.000000
-3.332843
14.500397
8.879077
19.662394
23.562545
35.995320
49.419999
70.986174
100.000000

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.000000
-36.290805
32.415724
-3.617976
24.514265
17.516703
35.551156
44.752169
67.810305
95.000000

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.000000
29.021828
26.649209
34.189381
39.946862
47.803310
56.847251
67.712806
80.620752
96.000000

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.000000
-22.586858
29.445959
15.502394
28.830158
33.986641
45.342923
58.255380
75.683857
98.000000

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.000000
-1.582743
19.632221
17.694571
26.056363
32.986375
43.514247
56.736852
74.219480
97.000000

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.000000
0.452546
15.545394
14.857045
22.360135
29.041331
39.373324
52.693243
70.793243
95.000000

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.000000
9.227284
9.905920
14.670176
19.583042
26.965890
36.779929
50.311490
68.760475
94.000000

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.000000
-8.213193
10.851070
3.242175
12.943295
15.602386
26.939304
40.442665
63.879185
99.000000

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed