Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71348 娄瀚兮 11石头剪刀布 Python3 Wrong Answer 35 MS 3764 KB 258 2024-04-22 21:02:20

Tests(0/10):


Code:

p1,p2=input().split() p1,p2=int(p1),int(p2) if p1 == 0: if p2 == 1: wot = 1 if p2 == 2: wot = 2 elif p1 == 1: if p2 == 0: wot=2 if p2 == 2: wot = 1 elif p1 == 2: if p2 == 1: wot=2 if p2 == 0: wot = 1 print('winner:', wot)


Run Info:

------Input------
0 1
------Answer-----
winner:1
------Your output-----
winner: 1