Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85310 丁俊杰 12满足条件的四位数 Python3 Accepted 41 MS 3768 KB 144 2024-07-17 00:30:10

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)