Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73874 娄瀚兮 统计硬币 Python3 Compile Error 0 MS 0 KB 230 2024-05-19 19:31:44

Tests(0/0):


Code:

T=int(input()) for _ in range(T): sum = 0 n,m = map(int,input().split()) for x in range(n+1): for y in range(n+1): z = n- x - y if x + y + z == n and x + 2 * y + 5 * z == m: sum += 1 print(sum)


Run Info:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)