编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#23030 #2040. 四倍大甜甜花 Wrong Answer 42 894 ms 4248 K Python 3 / 987 B 192024210801 2024-12-15 18:09:45
from functools import lru_cache

@lru_cache(maxsize=None)
def qiwang(flowers, tiantian_flowers, P, Q, R, B, C):
    if flowers < B:
        return tiantian_flowers, ""
    p_suc = P / 100
    p_xing = Q / 100
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
    sha_expected = p_suc * sha_expected + (1 - p_suc) * qiwang(flowers - B, tiantian_flowers + C, P, Q, R, B, C)[0]
    sha_strategy = "shatang"
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
    xing_expected = p_xing * xing_expected + (1 - p_xing) * qiwang(flowers - B, tiantian_flowers + C, P, Q, R, B, C)[0]
    xing_strategy = "Xingqiu"
    if sha_expected >= xing_expected:
        return sha_expected, sha_strategy
    else:
        return xing_expected, xing_strategy
A, B, C, P, Q, R = map(int, input().split())

expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)

print(f"{expected_quadruple_flowers:.15f}")
子任务 #1
Wrong Answer
得分:41
测试点 #1
Accepted
得分:100
用时:27 ms
内存:3268 KiB

输入文件(01.in

4 2 1 10 25 1

答案文件(01.out

2.200000000000000000000000000000

用户输出

2.200000000000000

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #2
Accepted
得分:100
用时:24 ms
内存:3216 KiB

输入文件(02.in

4 2 1 10 90 1

答案文件(02.out

2.901000000000000000000000000000

用户输出

2.901000000000000

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #3
Wrong Answer
得分:0
用时:28 ms
内存:3904 KiB

输入文件(03.in

4 2 1 0 50 2

答案文件(03.out

4.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 494 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #4
Wrong Answer
得分:0
用时:35 ms
内存:3924 KiB

输入文件(04.in

5 2 1 0 50 2

答案文件(04.out

4.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 494 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #5
Accepted
得分:100
用时:31 ms
内存:3212 KiB

输入文件(05.in

15 14 33 47 100 8

答案文件(05.out

48.510000000000000000000000000000

用户输出

48.510000000000005

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #6
Accepted
得分:100
用时:26 ms
内存:3256 KiB

输入文件(06.in

160 128 14 2 74 35

答案文件(06.out

14.280000000000000000000000000000

用户输出

14.279999999999999

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #7
Accepted
得分:100
用时:25 ms
内存:3224 KiB

输入文件(07.in

289 76 39 24 74 13

答案文件(07.out

163.010814720000000000000000000000

用户输出

163.010814720000013

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #8
Accepted
得分:100
用时:33 ms
内存:3928 KiB

输入文件(08.in

894 59 26 36 53 43

答案文件(08.out

620.982881678869313980873870419556

用户输出

620.982881678869376

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #9
Accepted
得分:100
用时:26 ms
内存:3264 KiB

输入文件(09.in

271 194 94 60 1 97

答案文件(09.out

150.400000000000000000000000000000

用户输出

150.400000000000006

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #10
Accepted
得分:100
用时:25 ms
内存:3148 KiB

输入文件(10.in

8581 8337 20 9 87 7821

答案文件(10.out

21.800000000000000000000000000000

用户输出

21.799999999999997

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #11
Accepted
得分:100
用时:26 ms
内存:3172 KiB

输入文件(11.in

41764 36019 87 41 62 27877

答案文件(11.out

122.670000000000000000000000000000

用户输出

122.669999999999987

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #12
Accepted
得分:100
用时:25 ms
内存:3268 KiB

输入文件(12.in

333625 284770 1 75 54 120896

答案文件(12.out

1.750000000000000000000000000000

用户输出

1.750000000000000

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #13
Wrong Answer
得分:0
用时:28 ms
内存:3956 KiB

输入文件(13.in

1 1 1 0 0 1

答案文件(13.out

1.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #14
Wrong Answer
得分:0
用时:32 ms
内存:3784 KiB

输入文件(14.in

1000000 1 1 10 25 1

答案文件(14.out

1333333.333333333333333333333333333333

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 496 more times]
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #15
Wrong Answer
得分:0
用时:28 ms
内存:3800 KiB

输入文件(15.in

1000000 1 100 10 25 1

答案文件(15.out

133333333.333333333333333333333333333333

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 496 more times]
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #16
Wrong Answer
得分:0
用时:29 ms
内存:3812 KiB

输入文件(16.in

1000000 10 1 100 100 1

答案文件(16.out

200000.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 496 more times]
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #17
Wrong Answer
得分:0
用时:27 ms
内存:3964 KiB

输入文件(17.in

1000000 1000000 100 0 0 1000000

答案文件(17.out

100.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #18
Accepted
得分:100
用时:27 ms
内存:3256 KiB

输入文件(18.in

476062 156944 94 24 33 57462

答案文件(18.out

349.680000000000000000000000000000

用户输出

349.680000000000007

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #19
Accepted
得分:100
用时:26 ms
内存:3256 KiB

输入文件(19.in

585355 76124 30 13 89 33550

答案文件(19.out

351.503613690933880319145900000000

用户输出

351.503613690933889

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #20
Accepted
得分:100
用时:33 ms
内存:4248 KiB

输入文件(20.in

260562 21141 66 3 32 18143

答案文件(20.out

1073.155897040059634712868284024031

用户输出

1073.155897040058790

Special Judge 信息

0.0000000000

系统信息

Exited with return code 0
测试点 #21
Wrong Answer
得分:0
用时:27 ms
内存:3972 KiB

输入文件(21.in

994882 982964 43 99 12 982964

答案文件(21.out

85.570000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #22
Wrong Answer
得分:0
用时:28 ms
内存:4040 KiB

输入文件(22.in

666693 541514 28 100 65 541514

答案文件(22.out

80.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #23
Wrong Answer
得分:0
用时:30 ms
内存:3952 KiB

输入文件(23.in

891302 247395 28 21 27 247395

答案文件(23.out

115.068493150684931506849315068493

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 493 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #24
Wrong Answer
得分:0
用时:32 ms
内存:3992 KiB

输入文件(24.in

678621 17554 34 11 84 17554

答案文件(24.out

8075.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 34 more times]
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 458 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #25
Wrong Answer
得分:0
用时:32 ms
内存:3992 KiB

输入文件(25.in

43158 38199 70 34 38 38199

答案文件(25.out

112.903225806451612903225806451613

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #26
Wrong Answer
得分:0
用时:29 ms
内存:4004 KiB

输入文件(26.in

971677 365988 35 23 95 365988

答案文件(26.out

1400.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 494 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #27
Wrong Answer
得分:0
用时:30 ms
内存:3996 KiB

输入文件(27.in

476062 156944 94 24 49 156944

答案文件(27.out

552.941176470588235294117647058824

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 493 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #28
Wrong Answer
得分:0
用时:31 ms
内存:4028 KiB

输入文件(28.in

585355 76124 30 13 3 76124

答案文件(28.out

237.300000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 3 more times]
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 489 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #29
Wrong Answer
得分:0
用时:30 ms
内存:3968 KiB

输入文件(29.in

260562 21141 66 3 64 21141

答案文件(29.out

2200.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 8 more times]
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 484 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #30
Wrong Answer
得分:0
用时:36 ms
内存:3988 KiB

输入文件(30.in

333625 284770 1 75 80 284770

答案文件(30.out

5.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 12, in qiwang
    xing_expected, _ = qiwang(max(0, flowers - B + R), tiantian_flowers + C, P, Q, R, B, C)
  [Previous line repeated 495 more times]
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1
测试点 #31
Wrong Answer
得分:0
用时:28 ms
内存:3800 KiB

输入文件(31.in

1000000 1 1 99 99 1 

答案文件(31.out

100000000.000000000000000000000000000000

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 21, in <module>
    expected_quadruple_flowers, _ = qiwang(A, 0, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  File "/sandbox/2/a.py", line 9, in qiwang
    sha_expected, _ = qiwang(flowers - B, tiantian_flowers + 2 * C, P, Q, R, B, C)
  [Previous line repeated 496 more times]
RecursionError: maximum recursion depth exceeded

Special Judge 信息

nan

系统信息

Exited with return code 1