結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,076 KB
testcase_01 AC 24 ms
10,076 KB
testcase_02 AC 24 ms
10,076 KB
testcase_03 AC 23 ms
10,076 KB
testcase_04 AC 24 ms
10,076 KB
testcase_05 AC 24 ms
10,076 KB
testcase_06 AC 25 ms
10,076 KB
testcase_07 AC 24 ms
10,076 KB
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("Lost")
else:
	print("Won")
0