| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74190 | 胡海峰老师 | 12满足条件的四位数 | Python3 | Accepted | 39 MS | 3788 KB | 228 | 2024-05-24 10:58:45 |
n = int(input()) lst = input().split() cnt = 0 for num in lst: #a,b,c,d d = int( num[-1]) a = int( num[0]) c = int( num[-2]) b = int( num[1]) if d-a-b-c>0: cnt +=1 print(cnt)