結果

問題 No.264 じゃんけん
ユーザー mahiromahiro
提出日時 2020-01-11 17:32:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 5,000 ms
コード長 153 bytes
コンパイル時間 757 ms
コンパイル使用メモリ 86,744 KB
実行使用メモリ 71,132 KB
最終ジャッジ日時 2023-08-16 15:17:49
合計ジャッジ時間 1,809 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,132 KB
testcase_01 AC 71 ms
70,992 KB
testcase_02 AC 70 ms
70,836 KB
testcase_03 AC 71 ms
70,720 KB
testcase_04 AC 72 ms
71,032 KB
testcase_05 AC 71 ms
71,032 KB
testcase_06 AC 70 ms
71,036 KB
testcase_07 AC 72 ms
71,028 KB
testcase_08 AC 74 ms
71,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = [int(i) for i in input().split()]
res = N - K
if res == 0:
    ans = "Drew"
elif res in (-1, 2):
    ans = "Won"
else:
    ans = "Lost"
print(ans)
0