QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#433627#8795. Mysterious Sequenceucup-team3539#AC ✓0ms3688kbC++237.5kb2024-06-08 13:05:452024-06-08 13:05:45

詳細信息

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.000000000000
-0.323529406160
0.676470593840
0.352941187681
1.029411781521
1.382352969202
2.411764750723
3.794117719925
6.205882470647
10.000000190572

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1.000000000000
99.999999998545

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50.000000000000
-0.000000007276
49.999999992724
49.999999985448
99.999999978172

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1.000000000000
55.875536483654
14.218884120914
17.523605151142
7.935622318014
6.364806867289
3.575107296326
2.484978540904
1.515021459307
1.000000000053

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.000000000000
-14.204807965143
55.038798008714
4.810670484138
35.877110366525
11.999999996638

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.000000000000
78.769536186883
23.692384046721
68.938724961186
36.188588477673
64.198127088367
45.000402554230
62.608602309252
51.652472620697
63.000000002576

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.000000000000
48.719999998866
29.999999999717

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.000000000000
20.950403348252
9.706112937510
16.125969765384
10.727183814314
13.324232117854
10.596182634160
11.494439692991
9.999999999900

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10.000000000000
240.115063999838
78.435669839950
120.361083250319
68.686203743579
69.437156460637
49.000000000229

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36.000000000000
10.121376813913
13.318840580452
7.096014493640
6.000000000492

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.000000000000
79.533924792486
83.736873677370
81.004956902195
82.780702806059
81.626467968548
82.376720612930
81.889056394081
82.206038136333
82.000000003869

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.000000000000
38.239918641921
62.726370711091
48.584638132499
60.144401811242
54.689538582146
60.586427121217
58.999999999498

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93.000000000000
83.999999995285

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.000000000000
-16.617423658317
54.755985117174
9.235026441915
56.813857875768
35.000000007092

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.000000000000
-6.565217387106
13.817391306447
1.000000004828

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.000000000000
30.370370375749
22.000000002905

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.000000000000
-48.321937072615
39.282934610062
-21.400909959093
23.191311325454
-6.291588634593
17.179893330628
3.849427447057
17.407290160140
13.000000015958

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.000000000000
137.214285707159
87.999999996009

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.000000000000
-34.080565361364
46.604077744022
-5.130601471976
40.417349462914
18.266429824924
48.000000000717

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.000000000000
89.432121683785
64.170630576595
73.886135624777
69.163917198775
70.408387581448
69.194070848738
69.000000000662

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.000000000000
99.557613539218
72.933415852747
91.084611828810
88.566448628556
96.000000000679

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.000000000000
34.407651262882
38.968667270358
33.749105901154
31.887868108108
29.238840257280
27.083174308292
25.000000002670

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.000000000000
-5.887853309105
29.220652415264
13.168821576513
34.302738242788
33.330976296053
51.527952102595
62.127178728122
84.999999970027

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74.000000000000
41.999999994005

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94.000000000000
95.999999997730

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.000000000000
-61.703576277068
47.192675419906
-24.857979626423
26.315721120740
-5.266962935300
20.260623100721
8.429138373699
23.713500733554
23.000000013139

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.000000000000
0.547821509826
61.967040411584
42.000000004408

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.000000000000
22.365907680069
16.212476299247
19.909312641707
20.060291479485
21.606233051110
22.731814482265
24.111382882696
25.502261837144
26.999999991880

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.000000000000
11.843609601783
58.332090625230
47.000000004425

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.000000000000
6.838890367362
8.415612160827
12.061697061140
16.053699736545
22.133037197361
30.002249175652
41.000000020365

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.000000000000
19.940442369261
24.647118505868
27.516742085163
31.889142369193
36.443386127549
41.864917772740
47.999999998871

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57.000000000000
-5.486486486916
28.999999999682

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91.000000000000
18.000000003667

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.000000000000
5.214972079557
15.175528501259
13.562546894610
15.906351369303
17.130407436423
18.916700218994
20.732805845738
22.774272580056
24.999999991109

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78.000000000000
-40.097557000990
44.004881109237
-4.609896266838
38.695065739402
25.369700203175
56.681932266271
68.000000040077

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.000000000000
8.727547501621
44.767487051265
39.456964600829
54.055525655305
62.680931603569
76.999999991542

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.000000000000
57.297905113955
73.672365988885
96.999999999960

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54.000000000000
-13.012886345678
27.649948650372
12.457939505316
29.072156869406
31.396840011858
44.840045017833
56.953023122210
75.811389547807
99.000000032837

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.000000000000
-43.734736966144
39.606905166408
-2.345014064471
28.272136956182
20.270056136824
37.297467873421
44.497267605255
63.053944315899
82.999999946395

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.000000000000
-63.269578815380
45.649728524004
-24.499311625888
24.257779029611
-4.353278401496
19.649332924964
11.190865200050
27.395741134754
32.000000025156

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.000000000000
-58.246914624760
42.184937446439
-19.096122579597
22.880506863913
0.889090100854
21.294837357197
17.623102602954
33.087604677811
42.000000038129

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.000000000000
-38.257501677435
15.571423641277
-5.750747655734
2.816177746668
-0.479254899951
0.963568849440
0.550448416070
0.908376264748
1.000000014160

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.000000000000
-3.332842876262
14.500397270228
8.879076915300
19.662393953789
23.562545249727
35.995320452537
49.419998481321
70.986174359052
99.999999924768

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.000000000000
-36.290804877353
32.415723903023
-3.617976067211
24.514265421113
17.516703296605
35.551156377094
44.752169158873
67.810305013984
94.999999996789

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.000000000000
29.021828486293
26.649209067938
34.189380519714
39.946862212485
47.803309539281
56.847251413187
67.712805773138
80.620752103241
95.999999986913

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.000000000000
-22.586857849092
29.445959357327
15.502394090621
28.830158301129
33.986641099338
45.342922550962
58.255380071044
75.683857140131
98.000000033041

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.000000000000
-1.582743432664
19.632221173296
17.694571055220
26.056362955088
32.986375284289
43.514246985674
56.736852302992
74.219479717936
97.000000040296

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.000000000000
0.452546308225
15.545393529731
14.857044924388
22.360134734980
29.041330910051
39.373323812337
52.693243075024
70.793243349185
95.000000008747

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.000000000000
9.227284179360
9.905919970392
14.670175954108
19.583041539526
26.965889756391
36.779928946101
50.311489659939
68.760474676220
94.000000048574

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.000000000000
-8.213193483243
10.851070386422
3.242174843774
12.943294694678
15.602386160182
26.939303662188
40.442665133108
63.879185126415
99.000000043684

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed