結果

問題 No.264 じゃんけん
ユーザー komkomh
提出日時 2019-04-03 18:07:17
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 5,000 ms
コード長 431 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-22 21:47:06
合計ジャッジ時間 1,101 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = map(int, input().split())

# 0:グー 1:チョキ 2:パー
if N == 0:
    if K == 0:
        print("Drew")
    if K == 1:
        print("Won")
    if K == 2:
        print("Lost")

if N == 1:
    if K == 0:
        print("Lost")
    if K == 1:
        print("Drew")
    if K == 2:
        print("Won")

if N == 2:
    if K == 0:
        print("Won")
    if K == 1:
        print("Lost")
    if K == 2:
        print("Drew")
0