QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295966#6547. Bansheeucup-team1494#TL 1ms7928kbC++202.8kb2024-01-01 19:54:142024-01-01 19:54:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.94476190476191
1.78000000000000

result:

ok 2 numbers

Test #2:

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

input:

1
1 1
999999999999 1000000000000 1000000 1000000

output:

190476264642.11714285612106

result:

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

Test #3:

score: -100
Time Limit Exceeded

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:


result: