s = input() s1 = [] for i in s: if s.count(i) == 1: s1.append(i) if len(s1) == 0: print(-1) else: print(s1[0]) 这是中等题?
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务