結果

問題 No.264 じゃんけん
ユーザー brthyyjpbrthyyjp
提出日時 2021-02-17 19:17:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 385 bytes
コンパイル時間 425 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-10-12 05:39:55
合計ジャッジ時間 1,856 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,240 KB
testcase_01 AC 77 ms
71,540 KB
testcase_02 AC 79 ms
71,408 KB
testcase_03 AC 74 ms
71,336 KB
testcase_04 AC 77 ms
71,252 KB
testcase_05 WA -
testcase_06 AC 72 ms
71,116 KB
testcase_07 AC 72 ms
71,252 KB
testcase_08 AC 72 ms
71,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
if n == 0:
    if k == 0:
        print('Drew')
    elif k == 1:
        print('Won')
    else:
        print('Lost')
elif n == 1:
    if k == 0:
        print('Lost')
    elif k == 1:
        print('Drew')
    else:
        print('Lost')
else:
    if k == 0:
        print('Won')
    elif k == 1:
        print('Lost')
    else:
        print('Drew')
0