QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#295989#6547. Bansheeucup-team1494#WA 128ms8472kbC++202.7kb2024-01-01 20:46:472024-01-01 20:46:48

詳細信息

Test #1:

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

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.944761904761890037
1.779999999999999805

result:

ok 2 numbers

Test #2:

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

input:

1
1 1
999999999999 1000000000000 1000000 1000000

output:

190476191690.597106933593750000

result:

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

Test #3:

score: 0
Accepted
time: 51ms
memory: 8412kb

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.124759674072265625

result:

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

Test #4:

score: 0
Accepted
time: 75ms
memory: 8360kb

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.794761904748156667

result:

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

Test #5:

score: 0
Accepted
time: 79ms
memory: 8472kb

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.794761904748156667

result:

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

Test #6:

score: -100
Wrong Answer
time: 128ms
memory: 3728kb

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:

304.379999999999995453
607.869999999999890861
911.359999999999899956
1215.739999999999781721
1519.230000000000018190
1822.719999999999799911
2127.099999999999454303
2430.589999999999236024
2734.079999999999927240
3038.460000000000036380
3341.949999999999818101
3645.439999999999599822
3949.8199999999...

result:

wrong answer 1st numbers differ - expected: '143787813626.40762', found: '304.38000', error = '1.00000'