Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93677 丁俊杰 12满足条件的四位数 Python3 Accepted 37 MS 3776 KB 177 2024-10-18 21:50:58

Tests(10/10):


Code:

n=int(input()) a=list(map(int,input().split())) res=0 for i in a: if int(str(i)[-1])-int(str(i)[-2])-int(str(i)[-3])-int(str(i)[-4])>0: res+=1 print(res)