結果

問題 No.264 じゃんけん
ユーザー h_enjin
提出日時 2016-02-12 01:57:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 273 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-22 04:02:48
合計ジャッジ時間 927 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

raw = input()

battle = raw.split()

me		= int(battle[0])
player 	= int(battle[1])

if me == player:
	print("Draw")
elif me < player:
	if me == 0 and player == 2:
		print("Lost")
	else:
		print("Won")
else:
	if me == 2 and player == 0:
		print("Won")
	else:
		print("Lost")
0