QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#856496#9728. Catch the Starucup-team3862WA 1571ms4096kbC++2011.6kb2025-01-14 05:19:332025-01-14 05:19:34

詳細信息

Test #1:

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

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: 1ms
memory: 3968kb

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: 1ms
memory: 4096kb

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: 1571ms
memory: 4096kb

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: 1304ms
memory: 4096kb

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: -100
Wrong Answer
time: 1328ms
memory: 4096kb

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:

wrong answer 2498th numbers differ - expected: '12.5000000', found: '12.4545455', error = '0.0036364'