結果

問題 No.264 じゃんけん
ユーザー TaiponistaTaiponista
提出日時 2022-06-08 15:52:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 27 ms / 5,000 ms
コード長 188 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 11,796 KB
実行使用メモリ 9,992 KB
最終ジャッジ日時 2023-10-21 04:06:48
合計ジャッジ時間 1,095 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N=list(map(int,input().split()))

if N[0] == N[1]:
    print('Drew')
elif (N[0]==0 and N[1]==1) or (N[0]==1 and N[1]==2) or (N[0]==2 and N[1]==0):
    print('Won')
else:
    print('Lost')
0