結果

問題 No.264 じゃんけん
コンテスト
ユーザー disneyresidents
提出日時 2020-10-23 08:58:27
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 298 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 381 ms
コンパイル使用メモリ 85,664 KB
実行使用メモリ 53,516 KB
最終ジャッジ日時 2026-04-03 04:19:03
合計ジャッジ時間 2,336 ms
ジャッジサーバーID
(参考情報)
judge5_0 / judge1_1
純コード判定待ち
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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