way!!!!!
原题链接:116082.中车零件编号检查2026-08-29 07:57:11
发布于:山东
s = input()
a,b,c = False,False,False
if s[0:4] == "CRRC":
a = True
if len(s[4:]) == 5:
b = True
num = 0
for i in s[4:]:
if i in "1234567890":
num += 1
if num == 5:
c += 1
if a and b and c:
print("YES")
else:
print("NO")
这里空空如也
















有帮助,赞一个