QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#605642#8795. Mysterious Sequenceucup-team4482#AC ✓1ms4056kbC++20829b2024-10-02 18:17:062024-10-02 18:17:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1.0 1.0 10 1 10

output:

1.0000000000
-0.3235294123
0.6764705877
0.3529411754
1.0294117631
1.3823529386
2.4117647017
3.7941176403
6.2058823419
9.9999999822

result:

ok 10 numbers

Test #2:

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

input:

1 1 2 1 100

output:

1.0000000000
99.9999999994

result:

ok 2 numbers

Test #3:

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

input:

1 1 5 50 100

output:

50.0000000000
-0.0000000007
49.9999999993
49.9999999986
99.9999999979

result:

ok 5 numbers

Test #4:

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

input:

0.25 0.25 10 1 1

output:

1.0000000000
55.8755364803
14.2188841201
17.5236051501
7.9356223175
6.3648068669
3.5751072961
2.4849785408
1.5150214592
1.0000000000

result:

ok 10 numbers

Test #5:

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

input:

0.25 0.63 6 93 12

output:

93.0000000000
-14.2048079591
55.0387980102
4.8106704884
35.8771103685
11.9999999998

result:

ok 6 numbers

Test #6:

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

input:

0.25 0.80 10 5 63

output:

5.0000000000
78.7695361833
23.6923840458
68.9387249581
36.1885884762
64.1981270855
45.0004025523
62.6086023065
51.6524726185
62.9999999998

result:

ok 10 numbers

Test #7:

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

input:

0.25 0.99 3 18 30

output:

18.0000000000
48.7199999996
29.9999999999

result:

ok 3 numbers

Test #8:

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

input:

0.28 0.64 9 6 10

output:

6.0000000000
20.9504033483
9.7061129375
16.1259697654
10.7271838143
13.3242321179
10.5961826342
11.4944396930
9.9999999999

result:

ok 9 numbers

Test #9:

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

input:

0.31 0.40 7 10 49

output:

10.0000000000
240.1150639986
78.4356698396
120.3610832497
68.6862037432
69.4371564603
49.0000000000

result:

ok 7 numbers

Test #10:

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

input:

0.32 0.28 5 36 6

output:

36.0000000000
10.1213768110
13.3188405795
7.0960144925
5.9999999999

result:

ok 5 numbers

Test #11:

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

input:

0.35 0.65 10 86 82

output:

86.0000000000
79.5339247857
83.7368736750
81.0049568969
82.7807028027
81.6264679639
82.3767206091
81.8890563898
82.2060381323
81.9999999997

result:

ok 10 numbers

Test #12:

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

input:

0.36 0.68 8 72 59

output:

72.0000000000
38.2399186420
62.7263707111
48.5846381326
60.1444018113
54.6895385822
60.5864271213
58.9999999996

result:

ok 8 numbers

Test #13:

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

input:

0.43 0.61 2 93 84

output:

93.0000000000
83.9999999995

result:

ok 2 numbers

Test #14:

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

input:

0.46 0.96 6 65 35

output:

65.0000000000
-16.6174236635
54.7559851148
9.2350264359
56.8138578707
34.9999999989

result:

ok 6 numbers

Test #15:

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

input:

0.50 0.90 4 19 1

output:

19.0000000000
-6.5652173920
13.8173913040
0.9999999993

result:

ok 4 numbers

Test #16:

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

input:

0.54 0.35 3 16 22

output:

16.0000000000
30.3703703700
21.9999999998

result:

ok 3 numbers

Test #17:

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

input:

0.55 0.89 10 74 13

output:

74.0000000000
-48.3219370767
39.2829346078
-21.4009099640
23.1913113208
-6.2915886415
17.1798933226
3.8494274365
17.4072901472
12.9999999995

result:

ok 10 numbers

Test #18:

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

input:

0.56 0.36 3 31 88

output:

31.0000000000
137.2142857142
88.0000000000

result:

ok 3 numbers

Test #19:

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

input:

0.57 0.93 7 71 48

output:

71.0000000000
-34.0805653622
46.6040777436
-5.1306014730
40.4173494619
18.2664298234
47.9999999989

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30.0000000000
89.4321216825
64.1706305759
73.8861356238
69.1639171979
70.4083875806
69.1940708479
68.9999999998

result:

ok 8 numbers

Test #21:

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

input:

0.58 0.49 6 31 96

output:

31.0000000000
99.5576135379
72.9334158520
91.0846118277
88.5664486276
95.9999999996

result:

ok 6 numbers

Test #22:

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

input:

0.61 0.29 8 62 25

output:

62.0000000000
34.4076512566
38.9686672666
33.7491058970
31.8878681045
29.2388402539
27.0831743052
24.9999999998

result:

ok 8 numbers

Test #23:

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

input:

0.63 0.89 9 37 85

output:

37.0000000000
-5.8878533028
29.2206524192
13.1688215846
34.3027382514
33.3309763087
51.5279521182
62.1271787492
84.9999999972

result:

ok 9 numbers

Test #24:

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

input:

0.64 0.67 2 74 42

output:

74.0000000000
41.9999999994

result:

ok 2 numbers

Test #25:

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

input:

0.65 0.56 2 94 96

output:

94.0000000000
95.9999999994

result:

ok 2 numbers

Test #26:

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

input:

0.65 0.90 10 97 23

output:

97.0000000000
-61.7035762797
47.1926754182
-24.8579796299
26.3157211170
-5.2669629409
20.2606230937
8.4291383641
23.7135007210
22.9999999963

result:

ok 10 numbers

Test #27:

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

input:

0.67 0.88 4 70 42

output:

70.0000000000
0.5478215062
61.9670404092
41.9999999996

result:

ok 4 numbers

Test #28:

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

input:

0.69 0.39 10 2 27

output:

2.0000000000
22.3659076870
16.2124763040
19.9093126477
20.0602914855
21.6062330576
22.7318144891
24.1113828899
25.5022618448
27.0000000000

result:

ok 10 numbers

Test #29:

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

input:

0.69 0.57 4 88 47

output:

88.0000000000
11.8436095972
58.3320906221
46.9999999996

result:

ok 4 numbers

Test #30:

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

input:

0.71 0.89 8 4 41

output:

4.0000000000
6.8388903623
8.4156121573
12.0616970541
16.0536997284
22.1330371854
30.0022491599
40.9999999985

result:

ok 8 numbers

Test #31:

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

input:

0.72 0.49 8 21 48

output:

21.0000000000
19.9404423695
24.6471185061
27.5167420854
31.8891423695
36.4433861279
41.8649177731
47.9999999993

result:

ok 8 numbers

Test #32:

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

input:

0.74 0.58 3 57 29

output:

57.0000000000
-5.4864864867
28.9999999999

result:

ok 3 numbers

Test #33:

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

input:

0.76 0.70 2 91 18

output:

91.0000000000
17.9999999995

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31.0000000000
5.2149720847
15.1755285052
13.5625468995
15.9063513745
17.1304074422
18.9167002253
20.7328058527
22.7742725877
24.9999999995

result:

ok 10 numbers

Test #35:

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

input:

0.77 0.96 8 78 68

output:

78.0000000000
-40.0975570081
44.0048811038
-4.6098962778
38.6950657257
25.3697001821
56.6819322369
67.9999999972

result:

ok 8 numbers

Test #36:

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

input:

0.78 0.52 7 73 77

output:

73.0000000000
8.7275475055
44.7674870543
39.4569646052
54.0555256603
62.6809316098
76.9999999990

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42.0000000000
57.2979051136
73.6723659886
96.9999999995

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.0128863511
27.6499486461
12.4579394982
29.0721568609
31.3968400002
44.8400450028
56.9530231024
75.8113895218
98.9999999987

result:

ok 10 numbers

Test #39:

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

input:

0.78 0.76 10 97 83

output:

97.0000000000
-43.7347369597
39.6069051714
-2.3450140557
28.2721369668
20.2700561518
37.2974678932
44.4972676320
63.0539443518
82.9999999948

result:

ok 10 numbers

Test #40:

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

input:

0.78 0.95 10 100 32

output:

100.0000000000
-63.2695788177
45.6497285222
-24.4993116296
24.2577790250
-4.3532784086
19.6493329150
11.1908651855
27.3957411140
31.9999999951

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98.0000000000
-58.2469146283
42.1849374436
-19.0961225850
22.8805068571
0.8890900906
21.2948373429
17.6231025824
33.0876046487
41.9999999967

result:

ok 10 numbers

Test #42:

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

input:

0.81 0.48 10 97 1

output:

97.0000000000
-38.2575016819
15.5714236377
-5.7507476608
2.8161777408
-0.4792549071
0.9635688408
0.5504484056
0.9083762522
0.9999999990

result:

ok 10 numbers

Test #43:

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

input:

0.81 0.86 10 20 100

output:

20.0000000000
-3.3328428697
14.5003972755
8.8790769252
19.6623939663
23.5625452684
35.9953204785
49.4199985184
70.9861744113
99.9999999990

result:

ok 10 numbers

Test #44:

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

input:

0.84 0.85 10 74 95

output:

74.0000000000
-36.2908048772
32.4157239032
-3.6179760670
24.5142654214
17.5167032971
35.5511563778
44.7521691599
67.8103050154
94.9999999989

result:

ok 10 numbers

Test #45:

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

input:

0.88 0.37 10 3 96

output:

3.0000000000
29.0218284897
26.6492090709
34.1893805236
39.9468622170
47.8033095447
56.8472514197
67.7128057809
80.6207521124
95.9999999979

result:

ok 10 numbers

Test #46:

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

input:

0.91 0.50 10 100 98

output:

100.0000000000
-22.5868578549
29.4459593521
15.5023940829
28.8301582915
33.9866410867
45.3429225346
58.2553800499
75.6838571127
97.9999999975

result:

ok 10 numbers

Test #47:

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

input:

0.94 0.48 10 44 97

output:

44.0000000000
-1.5827434391
19.6322211673
17.6945710465
26.0563629440
32.9863752696
43.5142469665
56.7368522780
74.2194796852
96.9999999975

result:

ok 10 numbers

Test #48:

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

input:

0.94 0.54 10 28 95

output:

28.0000000000
0.4525463067
15.5453935283
14.8570449222
22.3601347321
29.0413309062
39.3733238072
52.6932430681
70.7932433398
94.9999999962

result:

ok 10 numbers

Test #49:

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

input:

0.95 0.57 10 2 94

output:

2.0000000000
9.2272841735
9.9059199649
14.6701759455
19.5830415282
26.9658897408
36.7799289249
50.3114896309
68.7604746365
93.9999999943

result:

ok 10 numbers

Test #50:

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

input:

0.98 0.90 10 21 99

output:

21.0000000000
-8.2131934850
10.8510703847
3.2421748404
12.9432946898
15.6023861524
26.9393036502
40.4426651144
63.8791850972
98.9999999982

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed