Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86232 朱正天 统计硬币 Python3 Runtime Error 4004 MS 3780 KB 432 2024-07-23 19:07:38

Tests(0/1):


Code:

T = int(input()) tmp = [] res = [] for i in range(T): a = input().split() tmp.append(a) for i in tmp: count = 0 total = 0 count = int(i[0]) total = int(i[1]) p = 0 for a in range(count+1): for b in range(count-a+1): for c in range(count+1-a-b): if a + b + c == count and a + 2*b + 5*c == total: p += 1 res.append(p)


Run Info:

Runtime Error:[ERROR] A not allowed system call.
Call ID:511