Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93678 丁俊杰 12满足条件的四位数 Python3 Accepted 42 MS 3764 KB 142 2024-10-18 21:51:11

Tests(10/10):


Code:

n=int(input()) a=list(map(int,input().split())) res=0 for i in a: if (i%10-i//1000-i//100%10-i%100//10)>0: res+=1 print(res)