結果

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

ソースコード

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("Lost")
0