結果

問題 No.264 じゃんけん
ユーザー disneyresidents
提出日時 2020-10-23 08:58:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 298 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 51,712 KB
最終ジャッジ日時 2024-07-21 09:49:38
合計ジャッジ時間 1,080 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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