結果

問題 No.264 じゃんけん
ユーザー organ05organ05
提出日時 2016-05-14 01:12:38
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 299 bytes
コンパイル時間 1,603 ms
コンパイル使用メモリ 76,544 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2024-04-15 18:48:43
合計ジャッジ時間 1,590 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
75,776 KB
testcase_01 AC 78 ms
75,648 KB
testcase_02 AC 79 ms
75,776 KB
testcase_03 AC 79 ms
75,648 KB
testcase_04 AC 79 ms
75,776 KB
testcase_05 AC 80 ms
75,280 KB
testcase_06 AC 79 ms
75,648 KB
testcase_07 AC 79 ms
75,564 KB
testcase_08 AC 82 ms
75,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int, raw_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 "Won"

else:
	if K == 0:
		print "Won"
	elif K == 1:
		print "Lost"
	else:
		print "Drew"
0