QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#433890#8795. Mysterious Sequenceucup-team3502#AC ✓1ms4012kbC++17686b2024-06-08 13:47:402024-06-08 13:47:41

詳細信息

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.000000000
-0.323529425
0.676470575
0.352941149
1.029411724
1.382352873
2.411764596
3.794117469
6.205882065
9.999999534

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1.000000000
99.999999947

result:

ok 2 numbers

Test #3:

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

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: 1ms
memory: 3776kb

input:

0.25 0.25 10 1 1

output:

1.000000000
55.875536475
14.218884119
17.523605149
7.935622317
6.364806866
3.575107296
2.484978541
1.515021459
1.000000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.000000000
-14.204807997
55.038798001
4.810670462
35.877110356
11.999999980

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.000000000
78.769536171
23.692384043
68.938724948
36.188588471
64.198127076
45.000402546
62.608602297
51.652472611
62.999999991

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.000000000
48.719999979
29.999999995

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.000000000
20.950403301
9.706112924
16.125969731
10.727183796
13.324232091
10.596182615
11.494439671
9.999999981

result:

ok 9 numbers

Test #9:

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

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: 0ms
memory: 3896kb

input:

0.32 0.28 5 36 6

output:

36.000000000
10.121376792
13.318840574
7.096014485
5.999999996

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.000000000
79.533924779
83.736873673
81.004956892
82.780702800
81.626467960
82.376720606
81.889056386
82.206038129
81.999999996

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.000000000
38.239918621
62.726370703
48.584638115
60.144401800
54.689538566
60.586427108
58.999999984

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93.000000000
83.999999956

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.000000000
-16.617423715
54.755985091
9.235026376
56.813857820
34.999999918

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.000000000
-6.565217425
13.817391287
0.999999961

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.000000000
30.370370330
21.999999978

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.000000000
-48.321937118
39.282934585
-21.400910014
23.191311273
-6.291588712
17.179893241
3.849427329
17.407290016
12.999999832

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.000000000
137.214285711
87.999999998

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.000000000
-34.080565370
46.604077739
-5.130601483
40.417349452
18.266429809
47.999999982

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.000000000
89.432121653
64.170630559
73.886135602
69.163917178
70.408387560
69.194070828
68.999999980

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.000000000
99.557613487
72.933415822
91.084611785
88.566448588
95.999999956

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.000000000
34.407651228
38.968667249
33.749105878
31.887868088
29.238840238
27.083174291
24.999999987

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.000000000
-5.887853316
29.220652411
13.168821568
34.302738233
33.330976282
51.527952085
62.127178705
84.999999940

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74.000000000
41.999999978

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94.000000000
95.999999949

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.000000000
-61.703576304
47.192675402
-24.857979662
26.315721082
-5.266962993
20.260623029
8.429138275
23.713500605
22.999999841

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.000000000
0.547821455
61.967040375
41.999999931

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.000000000
22.365907681
16.212476300
19.909312643
20.060291481
21.606233052
22.731814484
24.111382884
25.502261839
26.999999993

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.000000000
11.843609593
58.332090619
46.999999995

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.000000000
6.838890343
8.415612143
12.061697027
16.053699697
22.133037139
30.002249099
40.999999914

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.000000000
19.940442353
24.647118494
27.516742069
31.889142352
36.443386107
41.864917749
47.999999972

result:

ok 8 numbers

Test #32:

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

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: 3712kb

input:

0.76 0.70 2 91 18

output:

91.000000000
17.999999991

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.000000000
5.214972065
15.175528490
13.562546881
15.906351355
17.130407420
18.916700201
20.732805826
22.774272559
24.999999968

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.097557052
44.004881070
-4.609896347
38.695065640
25.369700050
56.681932052
67.999999728

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.000000000
8.727547463
44.767487021
39.456964557
54.055525605
62.680931541
76.999999917

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.000000000
57.297905087
73.672365968
96.999999965

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54.000000000
-13.012886380
27.649948624
12.457939461
29.072156816
31.396839939
44.840044924
56.953022998
75.811389386
98.999999820

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.000000000
-43.734736999
39.606905141
-2.345014109
28.272136902
20.270056061
37.297467773
44.497267470
63.053944134
82.999999702

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.000000000
-63.269578854
45.649728494
-24.499311686
24.257778954
-4.353278517
19.649332763
11.190864964
27.395740797
31.999999538

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.000000000
-58.246914680
42.184937403
-19.096122664
22.880506757
0.889089940
21.294837135
17.623102283
33.087604225
41.999999392

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.000000000
-38.257501722
15.571423605
-5.750747707
2.816177688
-0.479254972
0.963568763
0.550448312
0.908376139
0.999999862

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.000000000
-3.332842891
14.500397259
8.879076894
19.662393926
23.562545209
35.995320396
49.419998400
70.986174244
99.999999762

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.000000000
-36.290804917
32.415723870
-3.617976128
24.514265342
17.516703178
35.551156210
44.752168917
67.810304668
94.999999501

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.000000000
29.021828440
26.649209028
34.189380467
39.946862151
47.803309466
56.847251326
67.712805669
80.620751980
95.999999840

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.000000000
-22.586857884
29.445959326
15.502394044
28.830158243
33.986641023
45.342922453
58.255379944
75.683856975
97.999999819

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.000000000
-1.582743492
19.632221118
17.694570975
26.056362853
32.986375149
43.514246809
56.736852073
74.219479417
96.999999647

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.000000000
0.452546278
15.545393502
14.857044882
22.360134680
29.041330835
39.373323712
52.693242940
70.793243168
94.999999766

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.000000000
9.227284159
9.905919951
14.670175924
19.583041500
26.965889702
36.779928872
50.311489558
68.760474537
93.999999858

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.000000000
-8.213193514
10.851070356
3.242174786
12.943294611
15.602386026
26.939303456
40.442664810
63.879184624
98.999999261

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed