結果

問題 No.264 じゃんけん
ユーザー tarotaro789tarotaro789
提出日時 2018-05-12 20:47:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 333 bytes
コンパイル時間 515 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-06-28 09:42:50
合計ジャッジ時間 994 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#ぐー, ちょき, ぱーをそれぞれ 0, 1, 2
zibun,aite=map(int,input().split())
#引き分け
if zibun==aite:
    print("Drew")
#勝つパターン
elif zibun==0 and aite==1:
    print("Won")
elif zibun==1 and aite==2:
    print("Won")
elif zibun==2 and aite==0:
    print("Won")
#負けるパターン
else:
    print("Lost")
0