結果

問題 No.264 じゃんけん
ユーザー togatogatogatoga
提出日時 2015-08-16 08:28:18
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 427 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 6,044 KB
最終ジャッジ日時 2023-09-25 12:17:12
合計ジャッジ時間 872 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,856 KB
testcase_01 AC 11 ms
6,044 KB
testcase_02 AC 11 ms
5,992 KB
testcase_03 AC 11 ms
5,872 KB
testcase_04 AC 11 ms
5,836 KB
testcase_05 AC 11 ms
6,036 KB
testcase_06 AC 11 ms
5,896 KB
testcase_07 AC 12 ms
5,932 KB
testcase_08 AC 11 ms
5,932 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 "Won"
    elif (K == 1):
        print "Lost"
    else:
        print "Drew"

0