测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 500 字符 |
模型生成的代码 (500 字符)
def even_Power_Sum(n):
"""
Returns the sum of the first n even natural numbers raised to the fifth power.
The k-th even natural number is 2k. The function computes:
sum_{k=1}^{n} (2k)^5
Args:
n (int): The number of even natural numbers to include.
Returns:
int: The sum of the fifth powers of the first n even natural numbers.
Example:
>>> even_Power_Sum(2)
1056
"""
return sum((2 * i) ** 5 for i in range(1, n + 1))
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试