QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#588808#8795. Mysterious SequenceZhaoZiLongAC ✓1ms4064kbC++20720b2024-09-25 14:40:362024-09-25 14:40:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.0000000000
-0.3235294116
0.6764705884
0.3529411768
1.0294117652
1.3823529419
2.4117647071
3.7941176490
6.2058823561
10.0000000050

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1.0000000000
99.9999999931

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50.0000000000
-0.0000000091
49.9999999909
49.9999999818
99.9999999727

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1.0000000000
55.8755364818
14.2188841205
17.5236051506
7.9356223178
6.3648068671
3.5751072962
2.4849785408
1.5150214593
1.0000000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.0000000000
-14.2048079670
55.0387980083
4.8106704829
35.8771103659
11.9999999957

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.0000000000
78.7695361851
23.6923840463
68.9387249596
36.1885884769
64.1981270869
45.0004025533
62.6086023079
51.6524726196
63.0000000012

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.0000000000
48.7200000043
30.0000000011

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.0000000000
20.9504033501
9.7061129380
16.1259697667
10.7271838150
13.3242321189
10.5961826349
11.4944396939
10.0000000006

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10.0000000000
240.1150639980
78.4356698394
120.3610832494
68.6862037431
69.4371564601
48.9999999999

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36.0000000000
10.1213768085
13.3188405787
7.0960144916
5.9999999993

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.0000000000
79.5339247907
83.7368736767
81.0049569008
82.7807028052
81.6264679673
82.3767206119
81.8890563929
82.2060381353
82.0000000027

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.0000000000
38.2399186401
62.7263707104
48.5846381310
60.1444018103
54.6895385808
60.5864271201
58.9999999982

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93.0000000000
83.9999999971

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.0000000000
-16.6174236711
54.7559851113
9.2350264270
56.8138578633
34.9999999870

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.0000000000
-6.5652173998
13.8173913001
0.9999999902

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.0000000000
30.3703703776
22.0000000039

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.0000000000
-48.3219370744
39.2829346091
-21.4009099613
23.1913113234
-6.2915886377
17.1798933271
3.8494274424
17.4072901544
13.0000000086

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.0000000000
137.2142857053
87.9999999950

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.0000000000
-34.0805653559
46.6040777471
-5.1306014651
40.4173494697
18.2664298352
48.0000000129

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.0000000000
89.4321216856
64.1706305777
73.8861356261
69.1639172000
70.4083875827
69.1940708500
69.0000000019

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.0000000000
99.5576135301
72.9334158475
91.0846118213
88.5664486216
95.9999999930

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.0000000000
34.4076512647
38.9686672715
33.7491059024
31.8878681092
29.2388402583
27.0831743092
25.0000000035

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.0000000000
-5.8878533036
29.2206524187
13.1688215835
34.3027382503
33.3309763070
51.5279521162
62.1271787464
84.9999999936

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74.0000000000
42.0000000031

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94.0000000000
96.0000000032

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.0000000000
-61.7035762752
47.1926754211
-24.8579796240
26.3157211234
-5.2669629314
20.2606231056
8.4291383804
23.7135007423
23.0000000248

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.0000000000
0.5478215007
61.9670404055
41.9999999923

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.0000000000
22.3659076892
16.2124763055
19.9093126496
20.0602914874
21.6062330596
22.7318144912
24.1113828922
25.5022618472
27.0000000025

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.0000000000
11.8436096000
58.3320906240
47.0000000025

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.0000000000
6.8388903583
8.4156121544
12.0616970485
16.0536997218
22.1330371756
30.0022491471
40.9999999807

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.0000000000
19.9404423711
24.6471185072
27.5167420870
31.8891423712
36.4433861299
41.8649177754
48.0000000019

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57.0000000000
-5.4864864887
28.9999999983

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91.0000000000
17.9999999909

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.0000000000
5.2149720887
15.1755285083
13.5625469033
15.9063513785
17.1304074466
18.9167002302
20.7328058580
22.7742725935
25.0000000059

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78.0000000000
-40.0975570028
44.0048811078
-4.6098962697
38.6950657359
25.3697001978
56.6819322587
68.0000000291

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.0000000000
8.7275475107
44.7674870584
39.4569646111
54.0555256670
62.6809316180
77.0000000089

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.0000000000
57.2979051231
73.6723659960
97.0000000118

result:

ok 4 numbers

Test #38:

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

input:

0.78 0.70 10 54 99

output:

54.0000000000
-13.0128863475
27.6499486490
12.4579395029
29.0721568666
31.3968400080
44.8400450128
56.9530231156
75.8113895391
99.0000000214

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.0000000000
-43.7347369643
39.6069051678
-2.3450140620
28.2721369592
20.2700561411
37.2974678790
44.4972676129
63.0539443261
82.9999999601

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.0000000000
-63.2695788136
45.6497285254
-24.4993116231
24.2577790332
-4.3532783960
19.6493329326
11.1908652112
27.3957411507
32.0000000482

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.0000000000
-58.2469146229
42.1849374479
-19.0961225768
22.8805068674
0.8890901061
21.2948373645
17.6231026134
33.0876046926
42.0000000593

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.0000000000
-38.2575016829
15.5714236369
-5.7507476619
2.8161777395
-0.4792549087
0.9635688389
0.5504484033
0.9083762494
0.9999999956

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.0000000000
-3.3328428708
14.5003972746
8.8790769236
19.6623939643
23.5625452653
35.9953204742
49.4199985123
70.9861744028
99.9999999869

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.0000000000
-36.2908048828
32.4157238984
-3.6179760757
24.5142654101
17.5167032801
35.5511563539
44.7521691254
67.8103049661
94.9999999281

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.0000000000
29.0218284954
26.6492090759
34.1893805301
39.9468622246
47.8033095538
56.8472514304
67.7128057937
80.6207521277
96.0000000161

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.0000000000
-22.5868578582
29.4459593491
15.5023940785
28.8301582860
33.9866410795
45.3429225254
58.2553800379
75.6838570971
97.9999999773

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.0000000000
-1.5827434345
19.6322211716
17.6945710527
26.0563629519
32.9863752801
43.5142469803
56.7368522959
74.2194797087
97.0000000282

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.0000000000
0.4525463100
15.5453935314
14.8570449270
22.3601347383
29.0413309146
39.3733238184
52.6932430832
70.7932433602
95.0000000235

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.0000000000
9.2272841812
9.9059199721
14.6701759568
19.5830415431
26.9658897613
36.7799289527
50.3114896690
68.7604746887
94.0000000656

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.0000000000
-8.2131934778
10.8510703918
3.2421748539
12.9432947094
15.6023861838
26.9393036986
40.4426651900
63.8791852150
99.0000001817

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed