QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#734591#8795. Mysterious Sequenceucup-team4405AC ✓1ms4064kbC++203.0kb2024-11-11 13:01:322024-11-11 13:01:33

詳細信息

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.000000000000
-0.323529411757
0.676470588243
0.352941176486
1.029411764729
1.382352941215
2.411764705944
3.794117647158
6.205882353102
10.000000000000

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1
100

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50.000000000000
0.000000000000
50.000000000000
50.000000000000
100.000000000000

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1.000000000000
55.875536480717
14.218884120179
17.523605150224
7.935622317601
6.364806866956
3.575107296139
2.484978540774
1.515021459228
1.000000000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.000000000000
-14.204807958628
55.038798010343
4.810670488650
35.877110368679
12.000000000000

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.000000000000
78.769536183563
23.692384045891
68.938724958324
36.188588476294
64.198127085732
45.000402552468
62.608602306703
51.652472618650
63.000000000000

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.000000000000
48.720000000047
30.000000000000

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.000000000000
20.950403348513
9.706112937584
16.125969765571
10.727183814413
13.324232118002
10.596182634265
11.494439693115
10.000000000000

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10.000000000000
240.115063998732
78.435669839607
120.361083249771
68.686203743272
69.437156460323
49.000000000000

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36.000000000000
10.121376811645
13.318840579727
7.096014492773
6.000000000000

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.000000000000
79.533924786271
83.736873675195
81.004956897394
82.780702802965
81.626467964344
82.376720609447
81.889056390130
82.206038132686
82.000000000000

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.000000000000
38.239918642626
62.726370711345
48.584638133070
60.144401811620
54.689538582671
60.586427121663
59.000000000000

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93
84

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.000000000000
-16.617423662796
54.755985115114
9.235026436668
56.813857871377
35.000000000000

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.000000000000
-6.565217391269
13.817391304366
1.000000000000

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.000000000000
30.370370370371
22.000000000000

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.000000000000
-48.321937076549
39.282934607898
-21.400909963785
23.191311320947
-6.291588641247
17.179893322957
3.849427436916
17.407290147736
13.000000000000

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.000000000000
137.214285714324
88.000000000000

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.000000000000
-34.080565361667
46.604077743850
-5.130601472356
40.417349462538
18.266429824356
48.000000000000

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.000000000000
89.432121682829
64.170630576041
73.886135624064
69.163917198134
70.408387580784
69.194070848089
69.000000000000

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.000000000000
99.557613538446
72.933415852299
91.084611828172
88.566448627966
96.000000000000

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.000000000000
34.407651257145
38.968667266858
33.749105897356
31.887868104776
29.238840254146
27.083174305414
25.000000000000

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.000000000000
-5.887853302133
29.220652419656
13.168821585485
34.302738252349
33.330976310061
51.527952119929
62.127178751510
85.000000000000

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74
42

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94
96

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.000000000000
-61.703576279091
47.192675418591
-24.857979629097
26.315721117819
-5.266962939605
20.260623095293
8.429138366296
23.713500723856
23.000000000000

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.000000000000
0.547821506528
61.967040409374
42.000000000000

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.000000000000
22.365907687038
16.212476304056
19.909312647743
20.060291485525
21.606233057632
22.731814489121
24.111382889970
25.502261844836
27.000000000000

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.000000000000
11.843609597554
58.332090622312
47.000000000000

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.000000000000
6.838890362706
8.415612157521
12.061697054649
16.053699728995
22.133037186224
30.002249161024
41.000000000000

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.000000000000
19.940442369949
24.647118506363
27.516742085856
31.889142369935
36.443386128422
41.864917773732
48.000000000000

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57.000000000000
-5.486486486482
29.000000000000

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91
18

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.000000000000
5.214972085079
15.175528505511
13.562546899872
15.906351374886
17.130407442616
18.916700225773
20.732805853187
22.774272588232
25.000000000000

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78.000000000000
-40.097557007590
44.004881104155
-4.609896277087
38.695065726632
25.369700183503
56.681932238864
68.000000000000

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.000000000000
8.727547506091
44.767487054751
39.456964605873
54.055525661051
62.680931610674
77.000000000000

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.000000000000
57.297905114019
73.672365988935
97.000000000000

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54.000000000000
-13.012886350883
27.649948646312
12.457939498505
29.072156861252
31.396840000730
44.840045003446
56.953023103199
75.811389522908
99.000000000000

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.000000000000
-43.734736959017
39.606905171966
-2.345014054719
28.272136968013
20.270056153464
37.297467895392
44.497267635038
63.053944355827
83.000000000000

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.000000000000
-63.269578817347
45.649728522469
-24.499311628954
24.257779025762
-4.353278407412
19.649332916692
11.190865187978
27.395741117480
32.000000000000

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.000000000000
-58.246914628004
42.184937443877
-19.096122584541
22.880506857702
0.889090091497
21.294837344215
17.623102584277
33.087604651372
42.000000000000

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.000000000000
-38.257501681546
15.571423637947
-5.750747660405
2.816177741287
-0.479254906552
0.963568841510
0.550448406478
0.908376253173
1.000000000000

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.000000000000
-3.332842869633
14.500397275598
8.879076925350
19.662393966547
23.562545268704
35.995320478881
49.419998518980
70.986174412212
100.000000000000

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.000000000000
-36.290804877057
32.415723903272
-3.617976066750
24.514265421712
17.516703297500
35.551156378355
44.752169160694
67.810305016584
95.000000000000

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.000000000000
29.021828490427
26.649209071576
34.189380524445
39.946862217994
47.803309545880
56.847251421032
67.712805782484
80.620752114367
96.000000000000

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.000000000000
-22.586857854434
29.445959352465
15.502394083526
28.830158292241
33.986641087703
45.342922535930
58.255380051548
75.683857114874
98.000000000000

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.000000000000
-1.582743438698
19.632221167624
17.694571046992
26.056362944632
32.986375270510
43.514246967703
56.736852279485
74.219479687213
97.000000000000

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.000000000000
0.452546307177
15.545393528747
14.857044922897
22.360134733047
29.041330907429
39.373323808828
52.693243070310
70.793243342858
95.000000000000

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.000000000000
9.227284174208
9.905919965497
14.670175946521
19.583041529528
26.965889742569
36.779928927271
50.311489634172
68.760474641008
94.000000000000

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.000000000000
-8.213193484965
10.851070384735
3.242174840572
12.943294690022
15.602386152736
26.939303650701
40.442665115149
63.879185098477
99.000000000000

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed