結果

問題 No.264 じゃんけん
ユーザー T32839919T32839919
提出日時 2019-06-26 08:56:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 284 bytes
コンパイル時間 579 ms
コンパイル使用メモリ 10,620 KB
実行使用メモリ 7,940 KB
最終ジャッジ日時 2023-09-06 06:40:16
合計ジャッジ時間 1,456 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,824 KB
testcase_02 AC 15 ms
7,756 KB
testcase_03 AC 16 ms
7,708 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,940 KB
testcase_06 AC 15 ms
7,856 KB
testcase_07 AC 15 ms
7,776 KB
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#ぐー, ちょき, ぱーをそれぞれ 0, 1, 2とし、1つ目に自分のが2つ目に相手のが与えられます。
a,b = map(int,input().split())

if a==b:
    print("Drow")
elif ([a,b]==[0,1] or [a,b] == [1,2] or [a,b] == [2,0]):
    print("Won")
else:
    print("Lost")
0