QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657994#7005. Rikka with ConsistencyGuanYunchangWA 42ms6220kbC++203.3kb2024-10-19 15:56:382024-10-19 15:56:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
0 1 1 2 0
4
0 2 1 3 0

output:

12.128990204491960
22.313624568639947

result:

ok 2 cases

Test #2:

score: -100
Wrong Answer
time: 42ms
memory: 6220kb

input:

500
34
0 12 2 25 18 11 17 7 24 20 19 18 34 26 14 15 11 16 3 19 6 21 34 33 12 6 29 10 27 22 5 7 7 25 0
40
0 18 15 11 15 10 9 26 34 13 35 12 27 36 33 3 7 28 6 24 12 30 38 39 14 14 12 13 24 35 28 35 11 22 19 39 8 6 18 3 0
43
0 25 1 23 21 5 16 36 22 3 31 34 9 3 41 17 11 39 22 0 16 39 15 10 8 33 24 21 20...

output:

1061109567.000000000000000
1061109567.000000000000000
2787.580473720950257
541.334373575637191
1061109567.000000000000000
1951.673466582071729
1213.924537986642280
2017.586964700495137
312.764409849808348
1061109567.000000000000000
138.614373840089229
2149.988607593458737
1061109567.000000000000000
...

result:

wrong answer In case 1, expected '1906.022744343873', but found '1061109567.000000000000', error '0.999998203746'.