QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#511139#8022. WalkerZhaoZiLongWA 31ms3984kbC++20895b2024-08-09 16:43:482024-08-09 16:43:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
10000.0 1.0 0.001 9999.0 0.001
4306.063 4079.874 0.607 1033.423 0.847

output:

5001000.0000000
3827.8370019

result:

ok 2 numbers

Test #2:

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

input:

1
10.0 1.0 10.0 9.0 0.1

output:

1.1000000

result:

ok found '1.1000000', expected '1.1000000', error '0.0000000'

Test #3:

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

input:

1
10.0 8.0 10.0 9.0 0.1

output:

1.2000000

result:

ok found '1.2000000', expected '1.2000000', error '0.0000000'

Test #4:

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

input:

1
10.0 8.0 0.1 9.0 10

output:

1.1000000

result:

ok found '1.1000000', expected '1.1000000', error '0.0000000'

Test #5:

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

input:

1
10.0 2.0 0.1 3.0 10

output:

1.3000000

result:

ok found '1.3000000', expected '1.3000000', error '0.0000000'

Test #6:

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

input:

1
10.0 9.0 0.1 8.0 10.0

output:

1.2000000

result:

ok found '1.2000000', expected '1.2000000', error '0.0000000'

Test #7:

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

input:

1
10.0 4.0 0.1 6.0 0.1

output:

60.0000000

result:

ok found '60.0000000', expected '60.0000000', error '0.0000000'

Test #8:

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

input:

1
10.0 4.5 0.1 6.0 0.1

output:

57.5000048

result:

ok found '57.5000048', expected '57.5000000', error '0.0000001'

Test #9:

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

input:

1
10.0 1.0 1.0 8.0 1.0

output:

6.5000004

result:

ok found '6.5000004', expected '6.5000000', error '0.0000001'

Test #10:

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

input:

1
10.0 3.0 2.0 7.0 1.0

output:

4.6000004

result:

ok found '4.6000004', expected '4.6000000', error '0.0000001'

Test #11:

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

input:

1
10.0 6.0 2.0 7.0 1.0

output:

3.6666670

result:

ok found '3.6666670', expected '3.6666667', error '0.0000001'

Test #12:

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

input:

1
10.0 1.0 1.0 9.0 1.0

output:

6.0000000

result:

ok found '6.0000000', expected '6.0000000', error '0.0000000'

Test #13:

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

input:

1
10000.0 1.0 0.001 1.0 0.001

output:

9999000.0000000

result:

ok found '9999000.0000000', expected '9999000.0000000', error '0.0000000'

Test #14:

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

input:

1
10.0 5.0 1.0 5.0 1.5

output:

5.0000000

result:

ok found '5.0000000', expected '5.0000000', error '0.0000000'

Test #15:

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

input:

10000
4306.063 4079.874 0.607 1033.423 0.847
8967.336 8026.500 0.398 283.019 0.876
9568.147 4481.616 0.405 800.114 0.684
9867.264 6184.040 0.312 9853.164 0.641
3344.364 730.612 0.539 1305.868 0.947
9336.180 3672.113 0.773 432.686 0.312
1468.243 59.762 0.840 1438.446 0.827
1355.133 1096.314 0.373 109...

output:

3827.8370019
7999.3649924
12559.3358067
15371.5507020
2637.6985201
9931.0415182
934.4943015
2939.1796247
5754.0328902
2847.4271586
10975.3236282
2180.2786070
23747.0454545
6278.1035561
872.3977055
10734.3956466
1005.0770289
20225.1630901
9878.0099470
22899.2592819
12241.0859259
33365.4762061
3153.05...

result:

ok 10000 numbers

Test #16:

score: 0
Accepted
time: 27ms
memory: 3728kb

input:

10000
2030.871 179.860 3.339 226.899 5.608
4013.779 5.483 5.886 2655.711 6.577
2948.361 1567.653 5.641 1789.794 4.572
1539.149 427.003 6.957 936.942 3.945
1689.115 359.356 1.192 742.725 8.260
2381.830 1935.542 7.989 1021.393 9.984
2247.138 2095.797 6.333 411.074 8.188
4141.126 403.006 1.882 3801.489...

output:

321.6783169
364.0773885
310.4378734
186.4660396
294.4116223
178.5241122
193.4820605
556.8327912
1413.5636950
403.2302261
743.5915086
396.6288210
209.1301147
611.2850656
4769.7810676
631.1755287
679.6039911
2239.7925148
672.2264897
652.9327215
1108.7718153
362.0073943
602.3981269
175.9369677
1171.481...

result:

ok 10000 numbers

Test #17:

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

input:

10000
7410.440 722.688 93.147 7123.335 52.404
9827.385 9318.243 31.214 4329.764 21.512
2798.254 2287.444 57.751 2083.954 59.592
4104.975 2145.078 39.914 2322.922 97.161
4508.679 124.615 97.618 557.945 7.666
6167.965 5462.271 20.812 2289.103 40.872
1863.334 130.781 49.124 590.990 21.907
5210.765 2592...

output:

57.8507396
201.2720343
34.9703652
49.1029964
47.4635211
138.8941888
35.2689724
38.4675708
75.2072900
101.6259556
25.9441885
21.0079177
82.0515902
99.5775285
27.5829437
197.4629546
44.7046984
62.4887212
23.4730345
54.7400724
6.2620343
146.0826156
149.7337584
187.1940456
48.9553980
125.7077673
344.474...

result:

ok 10000 numbers

Test #18:

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

input:

10000
1825.114 831.869 305.812 812.010 435.352
6204.189 975.074 324.820 3197.714 486.818
6707.302 6252.291 617.962 3000.007 202.516
3950.818 1276.312 795.686 1233.053 192.740
7727.851 7014.938 925.386 5422.995 990.049
1828.700 1059.091 897.131 796.832 289.580
4364.009 801.827 108.050 138.855 698.515...

output:

2.7201974
9.9889754
11.5902159
6.3974940
5.4775016
2.7516818
6.4463383
0.9512956
6.0518750
2.5075292
4.3790839
11.4347564
3.9997970
54.4577155
36.4774248
5.9521377
6.6059484
8.1824034
1.9385468
7.1519249
8.6850751
18.8098034
30.8455066
15.2064772
8.8982431
5.8704921
1.0987228
1.6437135
12.5630594
6....

result:

ok 10000 numbers

Test #19:

score: -100
Wrong Answer
time: 19ms
memory: 3984kb

input:

10000
1446.181 378.832 0.559 1049.957 0.581
8184.065 2784.411 0.567 5802.192 0.817
7897.823 922.465 0.430 2717.563 0.164
6798.147 101.965 0.861 968.021 0.766
2665.200 708.829 0.367 829.609 0.812
8278.765 4043.152 0.338 3510.780 0.746
9966.278 5152.481 0.628 9362.702 0.481
7225.976 4372.737 0.713 451...

output:

1857.2859651
8093.8193643
16570.5060976
7611.1305504
2363.0025457
11961.9881657
10054.8597488
6132.8709692
1324.9770198
8439.4677686
4670.2766159
1876.1061360
6135.1322411
3193.4616999
23257.1384697
3276.5638668
9436.1980831
8553.5888889
20206.1810155
8066.1157556
2850.7045735
74.0253968
2701.776234...

result:

wrong answer 2434th numbers differ - expected: '8.2857143', found: '8.2857229', error = '0.0000010'