QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#657721#7005. Rikka with ConsistencyZhaoZiLongWA 26ms4116kbC++232.9kb2024-10-19 15:20:492024-10-19 15:20:49

详细

Test #1:

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

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: 26ms
memory: 4116kb

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:

1906.022744343872653
1873.235902058971677
2645.063883550955734
541.334373575637191
1235.789070575067080
1951.673466582071729
1213.924537986642280
2017.586964700495137
312.764409849808348
3422.789227031028009
138.614373840089229
2149.988607593458736
1046.398399027540114
47.235496542825359
2513.302033...

result:

wrong answer In case 15, expected '2511.302033358896', but found '2513.302033358896', error '0.000795765878'.