QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#436124#8795. Mysterious Sequenceucup-team3597#AC ✓1ms3960kbC++14694b2024-06-08 23:19:502024-06-08 23:19:50

详细

Test #1:

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

input:

1.0 1.0 10 1 10

output:


1.000000000
-0.323529412
0.676470588
0.352941175
1.029411763
1.382352938
2.411764700
3.794117638
6.205882338
9.999999976

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:


1.000000000
99.999999999

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:


50.000000000
0.000000000
50.000000000
50.000000000
100.000000000

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:


1.000000000
55.875536481
14.218884120
17.523605150
7.935622318
6.364806867
3.575107296
2.484978541
1.515021459
1.000000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:


93.000000000
-14.204807959
55.038798010
4.810670488
35.877110368
12.000000000

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:


5.000000000
78.769536183
23.692384046
68.938724958
36.188588476
64.198127085
45.000402552
62.608602306
51.652472618
62.999999999

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:


18.000000000
48.720000000
30.000000000

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:


6.000000000
20.950403348
9.706112937
16.125969765
10.727183814
13.324232118
10.596182634
11.494439693
10.000000000

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:


10.000000000
240.115063999
78.435669840
120.361083250
68.686203743
69.437156460
49.000000000

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:


36.000000000
10.121376811
13.318840580
7.096014493
6.000000000

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:


86.000000000
79.533924786
83.736873675
81.004956897
82.780702803
81.626467964
82.376720609
81.889056390
82.206038132
82.000000000

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:


72.000000000
38.239918642
62.726370711
48.584638133
60.144401811
54.689538582
60.586427121
59.000000000

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:


93.000000000
83.999999999

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:


65.000000000
-16.617423664
54.755985115
9.235026436
56.813857871
34.999999999

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:


19.000000000
-6.565217391
13.817391304
1.000000000

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:


16.000000000
30.370370370
22.000000000

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:


74.000000000
-48.321937077
39.282934608
-21.400909964
23.191311321
-6.291588642
17.179893323
3.849427436
17.407290147
12.999999999

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:


31.000000000
137.214285714
88.000000000

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:


71.000000000
-34.080565362
46.604077744
-5.130601473
40.417349462
18.266429824
47.999999999

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:


30.000000000
89.432121682
64.170630576
73.886135624
69.163917198
70.408387580
69.194070848
69.000000000

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:


31.000000000
99.557613538
72.933415852
91.084611828
88.566448627
95.999999999

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:


62.000000000
34.407651257
38.968667267
33.749105897
31.887868105
29.238840254
27.083174305
25.000000000

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:


37.000000000
-5.887853303
29.220652419
13.168821584
34.302738251
33.330976308
51.527952118
62.127178749
84.999999996

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:


74.000000000
42.000000000

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:


94.000000000
96.000000000

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:


97.000000000
-61.703576280
47.192675418
-24.857979630
26.315721117
-5.266962941
20.260623094
8.429138364
23.713500721
22.999999996

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:


70.000000000
0.547821506
61.967040409
41.999999999

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:


2.000000000
22.365907687
16.212476304
19.909312647
20.060291485
21.606233057
22.731814489
24.111382890
25.502261844
27.000000000

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:


88.000000000
11.843609597
58.332090622
47.000000000

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:


4.000000000
6.838890362
8.415612157
12.061697054
16.053699728
22.133037185
30.002249159
40.999999997

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:


21.000000000
19.940442369
24.647118506
27.516742085
31.889142369
36.443386128
41.864917773
47.999999999

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:


57.000000000
-5.486486487
28.999999999

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:


91.000000000
17.999999999

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:


31.000000000
5.214972084
15.175528505
13.562546899
15.906351374
17.130407442
18.916700225
20.732805852
22.774272587
24.999999999

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:


78.000000000
-40.097557008
44.004881104
-4.609896278
38.695065725
25.369700182
56.681932236
67.999999996

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:


73.000000000
8.727547506
44.767487055
39.456964606
54.055525661
62.680931610
77.000000000

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:


42.000000000
57.297905113
73.672365988
96.999999999

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:


54.000000000
-13.012886351
27.649948646
12.457939498
29.072156861
31.396840001
44.840045003
56.953023103
75.811389523
99.000000000

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:


97.000000000
-43.734736960
39.606905172
-2.345014055
28.272136967
20.270056152
37.297467894
44.497267633
63.053944353
82.999999996

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:


100.000000000
-63.269578817
45.649728522
-24.499311629
24.257779026
-4.353278408
19.649332916
11.190865188
27.395741117
32.000000000

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:


98.000000000
-58.246914628
42.184937444
-19.096122585
22.880506857
0.889090091
21.294837343
17.623102582
33.087604649
41.999999997

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:


97.000000000
-38.257501682
15.571423637
-5.750747661
2.816177740
-0.479254908
0.963568840
0.550448405
0.908376251
0.999999998

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:


20.000000000
-3.332842870
14.500397276
8.879076925
19.662393966
23.562545268
35.995320478
49.419998518
70.986174411
99.999999999

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:


74.000000000
-36.290804878
32.415723903
-3.617976068
24.514265420
17.516703296
35.551156376
44.752169157
67.810305011
94.999999992

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:


3.000000000
29.021828490
26.649209071
34.189380524
39.946862217
47.803309545
56.847251420
67.712805781
80.620752113
95.999999998

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:


100.000000000
-22.586857855
29.445959352
15.502394083
28.830158292
33.986641087
45.342922536
58.255380051
75.683857114
98.000000000

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:


44.000000000
-1.582743439
19.632221167
17.694571047
26.056362944
32.986375270
43.514246967
56.736852279
74.219479686
96.999999999

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:


28.000000000
0.452546307
15.545393528
14.857044922
22.360134732
29.041330907
39.373323808
52.693243069
70.793243341
94.999999998

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:


2.000000000
9.227284174
9.905919965
14.670175946
19.583041529
26.965889741
36.779928925
50.311489632
68.760474638
93.999999996

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:


21.000000000
-8.213193486
10.851070384
3.242174839
12.943294688
15.602386150
26.939303647
40.442665109
63.879185089
98.999999985

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed