求问
2026-06-17 22:39:46
发布于:浙江
48阅读
0回复
0点赞
如何避免RE
a = int(input())
b = int(input())
c = int(input())
if a == 1 and b == 2 :
print("Yes")
elif a == 1 and c == 3 :
print("Yes")
elif b == 2 and c == 3 :
print("Yes")
else :
print("No")
全部评论 3
a, b, c = map(int, input().split()) if (a==1 and (b==2 or c==2)) or (b==2 and c==3): print("Yes") return 0 print("No")2026-09-19 来自 广东
0a, b, c = map(int, input().split())替换你的前三行
2026-09-19 来自 广东
0改用 C++
2026-09-19 来自 广东
0我想使用py作法
2026-09-19 来自 浙江
0还有神人
2026-09-19 来自 广东
0







有帮助,赞一个