QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#658519#7005. Rikka with ConsistencyZhaoZiLongWA 511ms9980kbC++147.5kb2024-10-19 16:58:062024-10-19 16:58:13

详细

Test #1:

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

input:

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

output:

12.128990204492
22.313624568640

result:

ok 2 cases

Test #2:

score: -100
Wrong Answer
time: 511ms
memory: 9980kb

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.022744343873
1873.235902058972
2645.063883550956
541.334373575637
1235.789070575067
1951.673466582072
1213.924537986642
2017.586964700495
312.764409849808
3422.789227031028
138.614373840089
2149.988607593459
1046.398399027540
47.235496542825
994.804529378666
60.533937888997
87.791820466066
2535...

result:

wrong answer In case 15, expected '2511.302033358896', but found '994.804529378666', error '1.524417570683'.