結果

問題 No.264 じゃんけん
ユーザー disneyresidentsdisneyresidents
提出日時 2020-10-23 08:58:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 298 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 71,384 KB
最終ジャッジ日時 2023-09-28 15:07:58
合計ジャッジ時間 1,748 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,288 KB
testcase_01 AC 77 ms
71,216 KB
testcase_02 AC 77 ms
70,896 KB
testcase_03 AC 77 ms
71,104 KB
testcase_04 AC 79 ms
71,364 KB
testcase_05 AC 77 ms
71,156 KB
testcase_06 AC 76 ms
71,052 KB
testcase_07 AC 77 ms
71,276 KB
testcase_08 AC 76 ms
71,384 KB
権限があれば一括ダウンロードができます

ソースコード

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