結果

問題 No.264 じゃんけん
ユーザー pluto77pluto77
提出日時 2016-02-04 17:37:17
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 5,000 ms
コード長 280 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 6,416 KB
最終ジャッジ日時 2023-10-21 19:11:37
合計ジャッジ時間 778 ms
ジャッジサーバーID
(参考情報)
judge12 / judge10
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#coding: utf-8
##yuki_264

s=[]
s=map(int,raw_input().split())

m=int(s[0])
n=int(s[1])

if m==n:
 print "Drew"
elif (m==0 and n==1) or (m==1 and n==2) or (m==2 and n==0):
 print "Won"
elif (m==0 and n==2) or (m==1 and n==0) or (m==2 and n==1):
 print "Lost"
else:
 print "error"
0