結果
問題 | No.264 じゃんけん |
ユーザー |
|
提出日時 | 2020-08-14 16:43:27 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 5,000 ms |
コード長 | 434 bytes |
コンパイル時間 | 189 ms |
コンパイル使用メモリ | 82,596 KB |
実行使用メモリ | 51,840 KB |
最終ジャッジ日時 | 2024-10-10 12:03:01 |
合計ジャッジ時間 | 1,127 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
# 0 グー # 1 チョキ # 2 パー a, b = map(int, input().split()) result = "" if(a == b): result = "Drew" elif(a == 0):#グー if(b == 1):#チョキ result = "Won" else: result = "Lost" elif(a == 1):#チョキ if(b == 2):#パー result = "Won" else: result = "Lost" else:#パー if(b == 0):#グー result = "Won" else: result = "Lost" print(result)