QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214735#6547. Bansheeucup-team025#WA 280ms9136kbC++2011.0kb2023-10-14 23:29:482023-10-14 23:29:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3532kb

input:

2
2 1
1 2 1 100
100 500 736 0
3 2
0 1 12 0
1 2 6 6
2 3 3 10

output:

49.94477
1.78000

result:

ok 2 numbers

Test #2:

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

input:

1
1 1
999999999999 1000000000000 1000000 1000000

output:

190476264642.11715

result:

ok found '190476264642.11716', expected '190476264642.11713', error '0.00000'

Test #3:

score: 0
Accepted
time: 59ms
memory: 8560kb

input:

1
200000 1
0 1 969249 972086
1 2 984744 984320
2 3 92755 47817
3 4 949336 988466
4 5 900430 587028
5 6 971159 502802
6 7 41633 978208
7 8 461354 662596
8 9 363071 263510
9 10 38887 360926
10 11 332384 508699
11 12 106353 110896
12 13 164201 615535
13 14 934900 317571
14 15 566503 490603
15 16 84381 ...

output:

7435986579.12477

result:

ok found '7435986579.12477', expected '7435986579.12476', error '0.00000'

Test #4:

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

input:

1
200000 333978112
0 1 992356 930126
1 2 176090 530440
2 3 737831 296956
3 4 506537 237481
4 5 707964 79385
5 6 924758 542461
6 7 105732 39650
7 8 873923 3276
8 9 32864 264522
9 10 395587 86623
10 11 350514 927988
11 12 525625 954467
12 13 244408 909598
13 14 560147 647280
14 15 242630 237857
15 16 ...

output:

38094.79477

result:

ok found '38094.79477', expected '38094.79476', error '0.00000'

Test #5:

score: 0
Accepted
time: 108ms
memory: 9136kb

input:

1
200000 1000000000
0 1 945997 933305
1 2 5390 151804
2 3 128320 798645
3 4 701383 107391
4 5 937129 989695
5 6 200579 678099
6 7 26621 111037
7 8 787156 534916
8 9 690049 664552
9 10 986545 948890
10 11 282743 37920
11 12 92545 205330
12 13 746804 959767
13 14 390635 119950
14 15 553450 693187
15 1...

output:

38094.79477

result:

ok found '38094.79477', expected '38094.79476', error '0.00000'

Test #6:

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

input:

100000
2 4
28797259691 276830799765 72278 33755
754885936393 923475252381 706795 936638
2 3
59508928733 771976493961 16966 42499
806442361566 991034882904 129056 718490
2 2
172750253246 241424267848 229419 649440
245407392377 589992423297 875885 889270
2 2
206097530212 864358471341 25515 147383
9818...

output:

143787813626.40762
153608080080.79143
46744314239.17381
187014532666.6905
88639503158.75620
133221473842.12762
111401799635.89620
98383664158.48715
159317167805.92381
80919772532.89334
153439584652.55810
147072054798.24572
107607022639.52810
53907914210.91239
146186515580.56953
77110868674.54096
140...

result:

ok 100000 numbers

Test #7:

score: -100
Wrong Answer
time: 206ms
memory: 3540kb

input:

100000
2 4
26 41 4 12
49 93 67 31
2 2
16 30 5 6
91 100 15 54
2 2
6 33 36 29
42 81 51 40
2 2
0 10 43 41
12 27 1 1
2 4
43 53 9 4
85 90 30 7
2 4
34 49 4 18
61 80 6 45
2 2
43 69 3 20
79 96 35 6
2 3
8 10 27 3
42 77 54 16
2 4
8 9 13 8
37 62 41 11
2 4
23 27 37 22
38 50 45 2
2 4
27 46 20 6
53 58 27 48
2 3
1...

output:

9.97048
17.97048
10.41715
2.92286
15.93762
11.36620
15.68477
8.63715
6.79477
6.98524
10.73239
5.65191
5.84239
3.74715
16.6572
6.22334
9.65191
7.87524
12.50905
3.81286
10.60429
5.8048
4.63715
6.92286
8.19381
11.5096
8.82762
16.45000
12.6572
11.74715
16.89000
18.54191
7.30381
18.73239
5.90810
8.63715
...

result:

wrong answer 15th numbers differ - expected: '16.06571', found: '16.65720', error = '0.03682'