QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#435748#8795. Mysterious Sequenceucup-team3584#AC ✓11ms9588kbPython3495b2024-06-08 21:19:302024-06-08 21:19:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 9532kb

input:

1.0 1.0 10 1 10

output:

1
-0.32352942071156576
0.6764705792884342
0.3529411585768685
1.0294117378653027
1.3823528964421712
2.411764634307474
3.794117530749645
6.205882165057119
9.999999695806764

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 10ms
memory: 9468kb

input:

1 1 2 1 100

output:

1
100

result:

ok 2 numbers

Test #3:

score: 0
Accepted
time: 11ms
memory: 9416kb

input:

1 1 5 50 100

output:

50
0.0
50.0
50.0
100.0

result:

ok 5 numbers

Test #4:

score: 0
Accepted
time: 10ms
memory: 9484kb

input:

0.25 0.25 10 1 1

output:

1
55.87553647274035
14.218884118185088
17.52360514773136
7.935622316479112
6.364806866052618
3.5751072956329324
2.4849785404213875
1.51502145901358
0.9999999998587419

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 6ms
memory: 9464kb

input:

0.25 0.63 6 93 12

output:

93
-14.204807966962107
55.03879800825948
4.810670482878741
35.87711036592316
11.999999995694397

result:

ok 6 numbers

Test #6:

score: 0
Accepted
time: 6ms
memory: 9580kb

input:

0.25 0.80 10 5 63

output:

5
78.76953617596882
23.692384043992206
68.93872495177311
36.188588473137045
64.19812707970276
45.00040254843533
62.60860230087104
51.652472613966026
62.99999999418834

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 10ms
memory: 9476kb

input:

0.25 0.99 3 18 30

output:

18
48.719999995228136
29.999999998807034

result:

ok 3 numbers

Test #8:

score: 0
Accepted
time: 5ms
memory: 9468kb

input:

0.28 0.64 9 6 10

output:

6
20.950403340975754
9.706112935473211
16.12596976015698
10.72718381154681
13.324232113733574
10.59618263123536
11.494439689535389
9.99999999706054

result:

ok 9 numbers

Test #9:

score: 0
Accepted
time: 6ms
memory: 9484kb

input:

0.31 0.40 7 10 49

output:

10
240.11506399801874
78.43566983938581
120.36108324941709
68.68620374307363
69.43715646011967
48.99999999986655

result:

ok 7 numbers

Test #10:

score: 0
Accepted
time: 2ms
memory: 9396kb

input:

0.32 0.28 5 36 6

output:

36
10.121376808456262
13.318840578706006
7.096014491553676
5.999999999334858

result:

ok 5 numbers

Test #11:

score: 0
Accepted
time: 10ms
memory: 9536kb

input:

0.35 0.65 10 86 82

output:

86
79.53392478157184
83.73687367355015
81.00495689376424
82.78070280062508
81.62646796116553
82.37672060681423
81.88905638714257
82.20603812992915
81.99999999711788

result:

ok 10 numbers

Test #12:

score: 0
Accepted
time: 4ms
memory: 9444kb

input:

0.36 0.68 8 72 59

output:

72
38.23991864010168
62.726370710436605
48.584638131026324
60.14440181026637
54.689538580793794
60.5864271200669
58.99999999816386

result:

ok 8 numbers

Test #13:

score: 0
Accepted
time: 2ms
memory: 9484kb

input:

0.43 0.61 2 93 84

output:

93
84

result:

ok 2 numbers

Test #14:

score: 0
Accepted
time: 10ms
memory: 9396kb

input:

0.46 0.96 6 65 35

output:

65
-16.617423671050346
54.75598511131684
9.235026426997415
56.813857863282976
34.999999987027685

result:

ok 6 numbers

Test #15:

score: 0
Accepted
time: 7ms
memory: 9480kb

input:

0.50 0.90 4 19 1

output:

19
-6.56521739983873
13.817391300080637
0.9999999901854615

result:

ok 4 numbers

Test #16:

score: 0
Accepted
time: 6ms
memory: 9576kb

input:

0.54 0.35 3 16 22

output:

16
30.370370368473232
21.999999998975547

result:

ok 3 numbers

Test #17:

score: 0
Accepted
time: 5ms
memory: 9484kb

input:

0.55 0.89 10 74 13

output:

74
-48.32193708352861
39.282934604059264
-21.400909972107865
23.19131131295342
-6.291588653051617
17.179893309350156
3.8494274189266466
17.407290125731294
12.999999971996928

result:

ok 10 numbers

Test #18:

score: 0
Accepted
time: 10ms
memory: 9532kb

input:

0.56 0.36 3 31 88

output:

31
137.21428570534044
87.99999999499066

result:

ok 3 numbers

Test #19:

score: 0
Accepted
time: 9ms
memory: 9532kb

input:

0.57 0.93 7 71 48

output:

71
-34.08056536500226
46.604077741948714
-5.130601476541337
40.41734945838375
18.26642981809529
47.9999999926112

result:

ok 7 numbers

Test #20:

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

input:

0.58 0.41 8 30 69

output:

30
89.43212167650927
64.17063057237537
73.8861356193465
69.16391719389487
70.40838757639109
69.19407084380373
68.99999999572651

result:

ok 8 numbers

Test #21:

score: 0
Accepted
time: 6ms
memory: 9540kb

input:

0.58 0.49 6 31 96

output:

31
99.55761353012349
72.93341584747162
91.08461182129405
88.56644862161164
95.99999999296882

result:

ok 6 numbers

Test #22:

score: 0
Accepted
time: 6ms
memory: 9464kb

input:

0.61 0.29 8 62 25

output:

62
34.40765125560574
38.96866726591951
33.74910589633656
31.887868103881956
29.238840253305597
27.083174304642178
24.99999999929035

result:

ok 8 numbers

Test #23:

score: 0
Accepted
time: 9ms
memory: 9532kb

input:

0.63 0.89 9 37 85

output:

37
-5.8878533036477165
29.22065241870194
13.168821583535752
34.30273825027225
33.33097630701833
51.52795211616385
62.12717874642955
84.99999999363644

result:

ok 9 numbers

Test #24:

score: 0
Accepted
time: 9ms
memory: 9464kb

input:

0.64 0.67 2 74 42

output:

74
42

result:

ok 2 numbers

Test #25:

score: 0
Accepted
time: 8ms
memory: 9468kb

input:

0.65 0.56 2 94 96

output:

94
96

result:

ok 2 numbers

Test #26:

score: 0
Accepted
time: 9ms
memory: 9472kb

input:

0.65 0.90 10 97 23

output:

97
-61.70357628434431
47.1926754151762
-24.85797963604535
26.315721110229102
-5.2669629507919
20.260623081191458
8.429138347061738
23.713500698662443
22.99999996648615

result:

ok 10 numbers

Test #27:

score: 0
Accepted
time: 10ms
memory: 9416kb

input:

0.67 0.88 4 70 42

output:

70
0.5478215007315157
61.96704040549012
41.99999999232212

result:

ok 4 numbers

Test #28:

score: 0
Accepted
time: 4ms
memory: 9484kb

input:

0.69 0.39 10 2 27

output:

2
22.36590768006863
16.212476299247353
19.909312641707437
20.060291479484597
21.606233051110273
22.73181448226508
24.11138288269591
25.502261837143557
26.999999991880458

result:

ok 10 numbers

Test #29:

score: 0
Accepted
time: 9ms
memory: 9576kb

input:

0.69 0.57 4 88 47

output:

88
11.843609590869164
58.33209061769972
46.999999993008224

result:

ok 4 numbers

Test #30:

score: 0
Accepted
time: 6ms
memory: 9460kb

input:

0.71 0.89 8 4 41

output:

4
6.838890358267236
8.415612154369738
12.061697048460353
16.053699721795915
22.133037175604812
30.002249147077784
40.99999998071351

result:

ok 8 numbers

Test #31:

score: 0
Accepted
time: 10ms
memory: 9480kb

input:

0.72 0.49 8 21 48

output:

21
19.940442361985333
24.64711850062944
27.51674207782601
31.889142361343154
36.44338611830182
41.86491776223545
47.99999998677741

result:

ok 8 numbers

Test #32:

score: 0
Accepted
time: 6ms
memory: 9532kb

input:

0.74 0.58 3 57 29

output:

57
-5.486486488734954
28.99999999833613

result:

ok 3 numbers

Test #33:

score: 0
Accepted
time: 9ms
memory: 9460kb

input:

0.76 0.70 2 91 18

output:

91
18

result:

ok 2 numbers

Test #34:

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

input:

0.77 0.36 10 31 25

output:

31
5.214972079556901
15.175528501258814
13.56254689460977
15.906351369302696
17.130407436422594
18.916700218994368
20.732805845737797
22.774272580056078
24.999999991108787

result:

ok 10 numbers

Test #35:

score: 0
Accepted
time: 8ms
memory: 9532kb

input:

0.77 0.96 8 78 68

output:

78
-40.09755701190443
44.004881100833586
-4.609896283786391
38.69506571828472
25.3697001706443
56.681932220949435
67.9999999739496

result:

ok 8 numbers

Test #36:

score: 0
Accepted
time: 9ms
memory: 9412kb

input:

0.78 0.52 7 73 77

output:

73
8.727547501621302
44.76748705126462
39.45696460082948
54.05552565530459
62.68093160356891
76.99999999154214

result:

ok 7 numbers

Test #37:

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

input:

0.78 0.69 4 42 97

output:

42
57.297905113955494
73.67236598888528
96.99999999995981

result:

ok 4 numbers

Test #38:

score: 0
Accepted
time: 6ms
memory: 9392kb

input:

0.78 0.70 10 54 99

output:

54
-13.01288635659148
27.649948641858643
12.457939491035706
29.0721568523089
31.396839988525933
44.84004498766646
56.953023082348
75.81138949559795
98.99999996420999

result:

ok 10 numbers

Test #39:

score: 0
Accepted
time: 9ms
memory: 9584kb

input:

0.78 0.76 10 97 83

output:

97
-43.73473696432484
39.606905167826625
-2.345014061982109
28.272136959202193
20.270056141071308
37.297467879029284
44.49726761285704
63.05394432609074
82.99999996012212

result:

ok 10 numbers

Test #40:

score: 0
Accepted
time: 9ms
memory: 9468kb

input:

0.78 0.95 10 100 32

output:

100
-63.2695788226556
45.64972851832863
-24.49931163722649
24.257779015375533
-4.353278423372249
19.6493328943764
11.190865155409956
27.395741070877346
31.999999932923785

result:

ok 10 numbers

Test #41:

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

input:

0.79 0.90 10 98 42

output:

98
-58.24691463203635
42.184937440691286
-19.096122590686598
22.880506849979746
0.8890900798660617
21.29483732807596
17.62310256105947
33.087604618505345
41.99999995357275

result:

ok 10 numbers

Test #42:

score: 0
Accepted
time: 4ms
memory: 9484kb

input:

0.81 0.48 10 97 1

output:

97
-38.257501682892325
15.571423636857208
-5.750747661933977
2.816177739524938
-0.47925490871310883
0.963568838914352
0.550448403338333
0.9083762493829387
0.9999999956025802

result:

ok 10 numbers

Test #43:

score: 0
Accepted
time: 9ms
memory: 9456kb

input:

0.81 0.86 10 20 100

output:

20
-3.3328428708045976
14.500397274648275
8.87907692357315
19.66239396429177
23.562545265349243
35.99532047422381
49.41999851232164
70.986174402813
99.99999998687515

result:

ok 10 numbers

Test #44:

score: 0
Accepted
time: 7ms
memory: 9536kb

input:

0.84 0.85 10 74 95

output:

74
-36.290804882810335
32.41572389843932
-3.617976075699758
24.51426541008562
17.516703280127125
35.55115635387956
44.75216912536689
67.81030496610582
94.99999992809074

result:

ok 10 numbers

Test #45:

score: 0
Accepted
time: 10ms
memory: 9580kb

input:

0.88 0.37 10 3 96

output:

3
29.02182848629309
26.649209067937917
34.18938051971381
39.94686221248518
47.80330953928107
56.847251413186854
67.71280577313843
80.62075210324095
95.99999998691325

result:

ok 10 numbers

Test #46:

score: 0
Accepted
time: 10ms
memory: 9460kb

input:

0.91 0.50 10 100 98

output:

100
-22.586857858186704
29.4459593490501
15.502394078542238
28.830158285998486
33.98664107952975
45.342922525371314
58.255380037852774
75.68385709713168
97.99999997731622

result:

ok 10 numbers

Test #47:

score: 0
Accepted
time: 3ms
memory: 9588kb

input:

0.94 0.48 10 44 97

output:

44
-1.5827434435777832
19.63222116303688
17.69457104033733
26.056362936174793
32.98637525936623
43.514246953168154
56.736852260473846
74.21947966236613
96.9999999676516

result:

ok 10 numbers

Test #48:

score: 0
Accepted
time: 10ms
memory: 9456kb

input:

0.94 0.54 10 28 95

output:

28
0.4525463009485975
15.545393522891683
14.857044914030423
22.360134721550107
29.04133089183353
39.37332378796057
52.69324304227304
70.79324330523536
94.99999994974868

result:

ok 10 numbers

Test #49:

score: 0
Accepted
time: 4ms
memory: 9536kb

input:

0.95 0.57 10 2 94

output:

2
9.227284172084183
9.905919963479974
14.670175943393957
19.583041525407843
26.965889736872008
36.77992891951087
50.31148962355237
68.76047462649595
93.99999998059599

result:

ok 10 numbers

Test #50:

score: 0
Accepted
time: 6ms
memory: 9536kb

input:

0.98 0.90 10 21 99

output:

21
-8.21319348688121
10.851070382856417
3.2421748370062
12.94329468483685
15.602386144445692
26.939303637909944
40.44266509515287
63.879185067368766
98.99999995165896

result:

ok 10 numbers

Extra Test:

score: 0
Extra Test Passed