Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118773 张亦瑞 统计硬币 Python3 Runtime Error 4012 MS 3760 KB 332 2025-05-10 14:28:32

Tests(0/1):


Code:

n=int(input()) for x in range(n): coin,amount=input().split() coin,amount=int(coin),int(amount) res=0 for one in range(coin): for two in range(coin): for five in range(coin): if one+two+five==coin and one*1+two*2+five*5==amount: res+=1 print(res)


Run Info:

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