QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#117941#6547. BansheeMaMengQiWA 241ms13232kbC++232.2kb2023-07-02 17:02:462023-07-02 17:02:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 7820kb

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.9447566638
1.7800066976

result:

ok 2 numbers

Test #2:

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

input:

1
1 1
999999999999 1000000000000 1000000 1000000

output:

190476264642.1171264648

result:

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

Test #3:

score: 0
Accepted
time: 232ms
memory: 13232kb

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

result:

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

Test #4:

score: -100
Wrong Answer
time: 241ms
memory: 12784kb

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:

3709632925.5152249336

result:

wrong answer 1st numbers differ - expected: '38094.79476', found: '3709632925.51522', error = '97377.99755'