QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#627464#6609. Scholomance AcademyZhangYiDeWA 75ms45284kbC++202.0kb2024-10-10 16:00:522024-10-10 16:00:53

詳細信息

Test #1:

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

input:

3
+ 2
- 3
- 1

output:

0.5000000000

result:

ok found '0.500000000', expected '0.500000000', error '0.000000000'

Test #2:

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

input:

6
+ 7
- 2
- 5
+ 4
- 2
+ 6

output:

0.8888888889

result:

ok found '0.888888889', expected '0.888888889', error '0.000000000'

Test #3:

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

input:

8
+ 34
+ 33
+ 26
- 34
- 38
+ 39
- 7
- 27

output:

0.5625000000

result:

ok found '0.562500000', expected '0.562500000', error '0.000000000'

Test #4:

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

input:

2
+ 12345135
- 12345135

output:

0.0000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #5:

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

input:

2
+ 4
- 3

output:

1.0000000000

result:

ok found '1.000000000', expected '1.000000000', error '0.000000000'

Test #6:

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

input:

2
- 3
+ 4

output:

1.0000000000

result:

ok found '1.000000000', expected '1.000000000', error '0.000000000'

Test #7:

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

input:

2
- 12
+ 11

output:

0.0000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #8:

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

input:

2
+ 7
- 9

output:

0.0000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #9:

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

input:

2
- 4
+ 4

output:

0.0000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #10:

score: 0
Accepted
time: 59ms
memory: 45284kb

input:

1000000
+ 1
- 1
- 1
- 1
+ 1
- 1
+ 1
- 1
- 1
+ 1
+ 1
- 1
+ 1
- 1
- 1
+ 1
+ 1
+ 1
+ 1
+ 1
- 1
+ 1
+ 1
- 1
- 1
- 1
+ 1
- 1
+ 1
- 1
+ 1
- 1
+ 1
+ 1
+ 1
+ 1
- 1
+ 1
- 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
- 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
- 1
- 1
+ 1
- 1
+ 1
+ 1
- 1
+ 1
+ 1
- 1
+ 1
- 1
+ 1
+ 1
+ 1
+ 1
+ 1
- 1
- 1
+ 1
...

output:

0.0000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #11:

score: -100
Wrong Answer
time: 75ms
memory: 44560kb

input:

999999
+ 2
- 1
+ 1
- 2
+ 2
- 1
- 1
+ 1
- 2
+ 2
- 1
- 2
+ 1
- 2
- 1
+ 2
- 2
- 1
- 1
- 2
+ 2
+ 1
- 1
- 2
+ 2
+ 1
- 1
- 1
+ 2
- 2
+ 2
- 1
+ 1
+ 1
- 2
+ 2
+ 1
+ 2
+ 1
+ 2
- 2
+ 1
- 2
+ 1
- 2
+ 2
+ 2
- 1
- 1
- 1
+ 2
+ 1
+ 2
- 1
- 1
- 2
+ 2
- 1
+ 2
- 2
- 2
+ 1
+ 1
+ 1
+ 2
+ 2
+ 2
+ 2
+ 1
- 2
- 2
- 1
- 1
-...

output:

0.7497383459

result:

wrong answer 1st numbers differ - expected: '0.2497381', found: '0.7497383', error = '0.5000002'