結果

問題 No.264 じゃんけん
ユーザー h_enjinh_enjin
提出日時 2016-02-12 05:07:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 11,796 KB
実行使用メモリ 10,076 KB
最終ジャッジ日時 2023-10-22 02:29:52
合計ジャッジ時間 817 ms
ジャッジサーバーID
(参考情報)
judge12 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,076 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 24 ms
10,076 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 23 ms
10,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

raw = input()

battle = raw.split()

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

result = (me - player + 3) % 3

if result == 0:
	print("Drew")
elif result == 1:
	print("Won")
else:
	print("Lost")
0