Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
2316 阿** 国王的金币 Python3 解答错误 31 MS 3376 KB 184 2023-12-08 11:29:18

Tests(2/5):


def calculate_coins(days): total_coins = 0 for i in range(1, days + 1): total_coins += i return total_coins days = int(input()) print(calculate_coins(days))


测评信息: