QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#894551#4228. Double SortNova_NightWind0311AC ✓828ms221672kbC++201.2kb2025-02-11 17:30:152025-02-11 17:30:21

详细

Test #1:

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

input:

3 5

output:

1.000000
2.300000
4.500000

result:

ok 3 numbers

Test #2:

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

input:

5 17

output:

1.131383
2.748384
5.183096
8.855688
15.000000

result:

ok 5 numbers

Test #3:

score: 0
Accepted
time: 828ms
memory: 221672kb

input:

50 10000

output:

4.432816
12.836597
25.315269
41.955611
62.848076
88.087155
117.771634
152.004895
190.895242
234.556263
283.107224
336.673509
395.387100
459.387114
528.820394
603.842178
684.616833
771.318689
864.132970
963.256852
1068.900655
1181.289203
1300.663381
1427.281915
1561.423435
1703.388859
1853.504184
201...

result:

ok 50 numbers

Test #4:

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

input:

40 40

output:

1.000000
2.000000
3.000000
4.000000
5.000000
6.000000
7.000000
8.000000
9.000000
10.000000
11.000000
12.000000
13.000000
14.000000
15.000000
16.000000
17.000000
18.000000
19.000000
20.000000
21.000000
22.000000
23.000000
24.000000
25.000000
26.000000
27.000000
28.000000
29.000000
30.000000
31.000000...

result:

ok 40 numbers

Test #5:

score: 0
Accepted
time: 34ms
memory: 28520kb

input:

39 1489

output:

1.527088
3.939013
7.340330
11.763494
17.236701
23.790711
31.458288
40.274233
50.275591
61.501875
73.995325
87.801195
102.968095
119.548371
137.598559
157.179904
178.358980
201.208409
225.807734
252.244447
280.615255
311.027607
343.601593
378.472317
415.792893
455.738310
498.510481
544.344968
593.520...

result:

ok 39 numbers

Test #6:

score: 0
Accepted
time: 683ms
memory: 206572kb

input:

47 9871

output:

4.883918
14.209322
28.093935
46.641431
69.960236
98.163952
131.371723
169.708651
213.306253
262.302967
316.844715
377.085526
443.188231
515.325237
593.679404
678.445016
769.828895
868.051650
973.349103
1085.973923
1206.197494
1334.312076
1470.633308
1615.503135
1769.293234
1932.409072
2105.294734
22...

result:

ok 47 numbers

Test #7:

score: 0
Accepted
time: 17ms
memory: 46568kb

input:

9 9999

output:

111.556223
348.049260
727.328002
1273.190064
2018.952111
3014.589140
4343.392810
6171.946442
9000.000000

result:

ok 9 numbers