結果

問題 No.264 じゃんけん
ユーザー tomosuto
提出日時 2016-10-18 00:35:54
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 322 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-11-22 13:39:33
合計ジャッジ時間 858 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = map(int, raw_input().split())

if N == K:
    print "Drew"

if N == 0:
    if K == 1:
        print "Won"
    elif K == 2:
        print "Lost"
elif N == 1:
    if K == 0:
        print "Lost"
    elif K == 2:
        print "Won"
elif N == 2:
    if K == 0:
        print "Won"
    elif K == 1:
        print "Lost"
0