結果

問題 No.264 じゃんけん
ユーザー yumenomatayumeyumenomatayume
提出日時 2020-03-21 00:29:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 153 bytes
コンパイル時間 1,035 ms
コンパイル使用メモリ 86,784 KB
実行使用メモリ 71,240 KB
最終ジャッジ日時 2023-08-22 04:26:10
合計ジャッジ時間 2,025 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,008 KB
testcase_01 AC 68 ms
71,204 KB
testcase_02 AC 69 ms
71,140 KB
testcase_03 AC 67 ms
71,084 KB
testcase_04 AC 67 ms
71,012 KB
testcase_05 AC 67 ms
71,200 KB
testcase_06 AC 67 ms
71,240 KB
testcase_07 AC 71 ms
70,904 KB
testcase_08 AC 68 ms
71,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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