Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
39506 吴泽硕 晚餐 Python3 Accepted 37 MS 3748 KB 239 2022-10-02 15:10:12

Tests(1/1):


Code:

import sys d=["bowl","knife","fork","chopsticks"] while True: line=sys.stdin.readline() if not line: break for x in line.split(): if x == d[0] or x == d[1] or x == d[2] or x == d[3]: print(x)