QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#549203#7013. Rikka with Antsucup-team1005#WA 14ms3872kbC++202.8kb2024-09-06 12:16:352024-09-06 12:16:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
5
1 5 2 4 3
1 2 3 4
5
1 5 2 4 3
1 3 2 4

output:

1 2
14.666666666667 14.666666666667

result:

ok 2 cases

Test #2:

score: -100
Wrong Answer
time: 14ms
memory: 3836kb

input:

5000
5
8 22 47 25 13
3 5 3 1
20
9 24 41 8 23 31 48 15 46 5 17 36 29 40 36 43 34 33 29 26
16 4 15 5
3
8 22 33
1 2 2 3
26
18 44 37 21 44 44 5 15 43 44 44 37 19 10 22 14 41 37 42 18 14 34 3 17 30 42
13 2 13 15
26
31 31 41 11 35 49 13 29 33 11 27 6 16 25 47 40 2 33 27 35 35 29 48 35 5 7
17 3 13 3
26
30 ...

output:

97.078651685393 97.078651685393
571.628865979381 571.628865979381
8 22
378 29
728.898876404494 728.898876404494
356 103
509.916981132075 509.916981132075
212.854368932039 212.854368932039
80 36
157 99
683 100
283 88
967 769
720.191744340879 720.191744340879
424.075294117647 424.075294117647
639 152
...

result:

wrong answer In case 1, the first value expected '72.000000000000', but found '97.078651685393', error '0.258333333333'.