QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601669#7013. Rikka with Antsucup-team4744#WA 15ms3944kbC++141.9kb2024-09-30 10:35:492024-09-30 10:35:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1.0000000000 2.0000000000
14.6666666667 14.6666666667

result:

ok 2 cases

Test #2:

score: -100
Wrong Answer
time: 15ms
memory: 3944kb

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.0786516854 93.6573033708
571.6288659794 571.6288659794
8.0000000000 22.0000000000
584.6400000000 438.7800000000
728.8988764045 728.8988764045
490.5418060201 408.5836120401
509.9169811321 509.9169811321
212.8543689320 217.2087378641
80.0000000000 36.0000000000
157.0000000000 99.0000000000
901.6501...

result:

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