結果

問題 No.264 じゃんけん
ユーザー togatogatogatoga
提出日時 2015-08-16 08:28:15
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 426 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 6,472 KB
実行使用メモリ 6,040 KB
最終ジャッジ日時 2023-09-25 12:17:10
合計ジャッジ時間 1,032 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N,K = map(int, raw_input().split())
#0 gu- 1 choki 2 pa-
if (N == 0):#gu-
    if (K == 1):
        print "Won"
    elif (K == 2):
        print "Lost"
    else:
        print "Drew"

if (N == 1):
    if (K == 2):
        print "Won"
    elif (K == 0):
        print "Lost"
    else:
        print "Drew"

if (N == 2):
    if (K == 0):
        print "W0n"
    elif (K == 1):
        print "Lost"
    else:
        print "Drew"
0