結果

問題 No.264 じゃんけん
ユーザー t.shibuki
提出日時 2019-11-24 10:52:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 334 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-12 04:16:34
合計ジャッジ時間 814 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# ぐー, ちょき, ぱーをそれぞれ 0, 1, 2
myself,opponent = map(int,input().split())

if myself == opponent:
    print("Draw")
elif myself == 0 and opponent == 1:
    print("Won")
elif myself == 1 and opponent == 2:
    print("Won")
elif myself == 2 and opponent == 0:
    print("Won")
else:
    print("Lose")
0