結果

問題 No.264 じゃんけん
ユーザー tookunn_1213tookunn_1213
提出日時 2015-08-14 20:53:08
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 226 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 6,568 KB
実行使用メモリ 5,952 KB
最終ジャッジ日時 2023-09-25 11:48:25
合計ジャッジ時間 793 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,952 KB
testcase_01 AC 11 ms
5,888 KB
testcase_02 AC 12 ms
5,860 KB
testcase_03 AC 11 ms
5,880 KB
testcase_04 AC 12 ms
5,928 KB
testcase_05 AC 12 ms
5,940 KB
testcase_06 AC 11 ms
5,840 KB
testcase_07 AC 11 ms
5,844 KB
testcase_08 AC 12 ms
5,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,raw_input().split())
ans = 'Drew'
if (N == 0 and K == 1) or (N == 1 and K == 2) or (N == 2 and K == 0):
	ans = 'Won'
elif (K == 0 and N == 1) or (K == 1 and N == 2) or (K == 2 and N == 0):
	ans = 'Lost'
print ans
0