题解 | #下厨房#
下厨房
https://www.nowcoder.com/practice/ca5c9ba9ebac4fd5ae9ba46114b0f476
ans = set() while True: try: tmp = input() for item in tmp.split(): ans.add(item) except EOFError: break print(len(ans))
下厨房
https://www.nowcoder.com/practice/ca5c9ba9ebac4fd5ae9ba46114b0f476
ans = set() while True: try: tmp = input() for item in tmp.split(): ans.add(item) except EOFError: break print(len(ans))
相关推荐