QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#856140#9728. Catch the Starucup-team3862WA 653ms4068kbC++208.2kb2025-01-13 17:14:382025-01-13 17:14:39

详细

Test #1:

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

input:

2
4 -8 8
3 -7 7 -6 8 -7 8
3 -9 -2 -7 3 -9 -1
3 -2 3 0 2 -4 5
3 5 1 5 3 4 2
3 1 -1 2 -2 3 -1
5 -8 8
5 -14 -3 -10 -2 -9 2 -10 4 -12 5
3 -16 0 -15 0 -15 1
3 -15 6 -9 5 -15 7
3 -10 5 -9 5 -10 6
3 -7 3 -3 2 -8 4
3 -6 -1 -6 -2 -5 -1

output:

9.404761904761905
6.000000000000000

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3988kb

input:

3
1 -4 4
3 -2 6 0 5 2 6
3 -3 1 3 1 0 4
3 -2 2
3 -2 4 2 4 0 6
3 -2 2 -1 2 -2 3
3 1 2 2 2 2 3
3 -2 -1 0 -3 2 -1
1 1 2
3 -8 0 -7 0 -8 1
3 -5 0 -4 -1 -4 0

output:

-1.000000000000000
0.000000000000000
1.000000000000000

result:

ok 3 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3944kb

input:

1
1 -744567334 955216804
5 -781518205 -852078097 -781516900 -852078384 -781516392 -852076569 -781518329 -852076047 -781519925 -852077600
5 -393011614 -131855702 -393010699 -131856607 -393008846 -131856475 -393009388 -131854587 -393010201 -131854694

output:

1699779738.691979192313738

result:

ok found '1699779738.691979170', expected '1699779738.691979170', error '0.000000000'

Test #4:

score: 0
Accepted
time: 134ms
memory: 4068kb

input:

16666
2 -732787031 -732787030
3 -798263477 735869144 -583647039 529057159 -583647039 529057160
3 -777230180 499482549 -777230181 499482549 -777230180 499482548
3 -661853868 251627327 -661853868 251627326 -661853867 251627327
2 463140451 463140452
3 232604219 637008523 797038205 345997813 797038205 3...

output:

-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000000
-1.000000000000...

result:

ok 16666 numbers

Test #5:

score: 0
Accepted
time: 419ms
memory: 3884kb

input:

16667
2 -9 7
3 -8 4 -6 1 -4 2
3 6 13 2 12 3 10
3 -1 7 0 10 -3 4
2 -9 5
3 -8 10 -5 8 -4 10
3 10 -8 9 -11 12 -8
3 -10 -5 -8 -4 -7 -1
2 -6 5
3 -8 6 -7 6 -5 7
3 -2 -3 1 -4 -4 -2
3 1 10 0 10 -1 8
2 -9 9
3 -5 -11 -2 -11 -5 -8
3 6 -5 5 -2 4 -5
3 11 6 9 3 11 3
2 -6 5
3 -7 6 -8 7 -9 4
3 9 2 12 -3 11 0
3 -6 3...

output:

16.000000000000000
14.000000000000000
11.000000000000000
15.555555555555556
-1.000000000000000
12.000000000000000
14.000000000000000
17.000000000000000
11.000000000000000
16.000000000000000
11.000000000000000
15.000000000000000
15.000000000000000
10.000000000000000
18.000000000000000
16.000000000000...

result:

ok 16667 numbers

Test #6:

score: 0
Accepted
time: 370ms
memory: 3916kb

input:

16667
2 -6 10
3 6 -8 8 -10 9 -7
3 -5 13 -6 10 -6 8
3 8 10 7 7 10 7
2 -8 7
3 2 -10 0 -12 3 -11
3 -6 -7 -3 -5 -4 -4
3 10 -3 8 -3 8 -6
2 -7 6
3 9 1 9 4 6 1
3 7 -6 4 -8 6 -8
3 -3 -12 -4 -10 -5 -14
2 -10 10
3 11 -4 9 -1 9 -3
3 -6 -7 -6 -8 -5 -5
3 -10 -7 -7 -10 -6 -10
2 -9 8
3 3 2 3 1 6 5
3 4 -2 0 -3 1 -3...

output:

16.000000000000000
12.142857142857143
13.000000000000000
20.000000000000000
17.000000000000000
13.000000000000000
15.000000000000000
16.000000000000000
19.000000000000000
11.000000000000000
15.000000000000000
20.000000000000000
15.000000000000000
-1.000000000000000
14.000000000000000
19.000000000000...

result:

ok 16667 numbers

Test #7:

score: 0
Accepted
time: 449ms
memory: 3892kb

input:

16667
2 -20 15
3 17 -17 22 -14 14 -16
3 -5 -12 -3 -8 -8 -12
3 11 8 15 10 8 8
2 -10 12
3 -14 -13 -19 -9 -11 -17
3 14 13 10 12 14 9
3 -5 -20 -7 -17 -7 -20
2 -11 10
3 0 -24 -1 -20 -5 -19
3 -12 -2 -15 -5 -12 -5
3 10 -21 14 -24 14 -19
2 -15 20
3 -3 -16 -4 -10 -6 -15
3 8 17 7 12 10 17
3 8 -7 10 -5 11 -3
2...

output:

35.000000000000000
22.000000000000000
21.000000000000000
29.230769230769231
31.000000000000000
37.000000000000000
17.250000000000000
38.000000000000000
37.000000000000000
31.000000000000000
30.000000000000000
33.000000000000000
27.000000000000000
30.000000000000000
30.000000000000000
31.000000000000...

result:

ok 16667 numbers

Test #8:

score: 0
Accepted
time: 416ms
memory: 3852kb

input:

16667
2 -19 19
3 18 -12 22 -15 20 -12
3 24 0 20 2 20 -3
3 15 25 18 20 19 22
2 -18 20
3 10 6 11 11 7 8
3 26 -21 20 -12 21 -17
3 -4 -13 -11 -19 -6 -18
2 -13 14
3 19 -4 20 0 17 -7
3 1 -8 6 -12 3 -7
3 12 -7 5 -2 10 -6
2 -18 12
3 14 -5 15 -6 17 -4
3 18 -20 15 -19 20 -22
3 14 -8 18 -3 12 -10
2 -14 15
3 17...

output:

38.000000000000000
38.000000000000000
13.800000000000000
30.000000000000000
29.000000000000000
25.000000000000000
27.000000000000000
27.000000000000000
29.000000000000000
28.000000000000000
27.000000000000000
34.000000000000000
35.000000000000000
20.000000000000000
20.000000000000000
25.000000000000...

result:

ok 16667 numbers

Test #9:

score: -100
Wrong Answer
time: 653ms
memory: 3900kb

input:

8334
5 -17 14
5 -9 13 -12 15 -15 10 -15 9 -13 9
5 24 4 22 9 17 13 20 8 23 4
4 -11 4 -12 6 -17 9 -14 6
5 -7 23 -10 19 -10 17 -1 23 -3 28
4 23 -16 20 -11 15 -7 11 -11
5 15 -9 14 -9 15 -12 19 -14 20 -10
5 -11 10
5 -4 8 -1 10 -13 16 -14 15 -9 11
5 9 2 12 5 14 10 2 4 4 1
5 20 -12 23 -15 29 -10 27 -9 22 -...

output:

20.000000000000000
15.000000000000000
34.000000000000000
21.000000000000000
25.000000000000000
21.000000000000000
21.000000000000000
35.000000000000000
6.333333333333333
32.000000000000000
28.000000000000000
-1.000000000000000
25.000000000000000
30.000000000000000
38.000000000000000
35.0000000000000...

result:

wrong answer 100th numbers differ - expected: '2.2000000', found: '6.8333333', error = '2.1060606'