結果

問題 No.264 じゃんけん
コンテスト
ユーザー disneyresidents
提出日時 2020-10-23 08:58:27
言語 PyPy3
(7.3.23 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 59 ms / 5,000 ms
+ 447µs
コード長 298 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 251 ms
コンパイル使用メモリ 95,988 KB
実行使用メモリ 79,192 KB
最終ジャッジ日時 2026-08-21 13:28:23
合計ジャッジ時間 2,410 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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