結果

問題 No.264 じゃんけん
ユーザー nnaabbeennaabbee
提出日時 2019-04-05 16:09:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 172 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 10,776 KB
実行使用メモリ 7,872 KB
最終ジャッジ日時 2023-09-02 12:01:36
合計ジャッジ時間 1,230 ms
ジャッジサーバーID
(参考情報)
judge13 / judge16
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,872 KB
testcase_01 AC 16 ms
7,760 KB
testcase_02 AC 17 ms
7,736 KB
testcase_03 AC 17 ms
7,840 KB
testcase_04 AC 16 ms
7,800 KB
testcase_05 AC 17 ms
7,800 KB
testcase_06 AC 16 ms
7,828 KB
testcase_07 AC 16 ms
7,848 KB
testcase_08 AC 17 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
hands = [int(num) for num in sys.stdin.readline().split(" ")]
d = "Drew"
w = "Won"
l = "Lost"
j = [[d, w, l], [l, d, w], [w, l, d]]

print(j[hands[0]][hands[1]])
0