結果

問題 No.264 じゃんけん
ユーザー ノットカワズノットカワズ
提出日時 2016-05-10 05:36:48
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 92 ms / 5,000 ms
コード長 266 bytes
コンパイル時間 1,961 ms
コンパイル使用メモリ 76,604 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2024-04-15 15:02:02
合計ジャッジ時間 2,228 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
75,292 KB
testcase_01 AC 92 ms
75,296 KB
testcase_02 AC 88 ms
75,776 KB
testcase_03 AC 90 ms
75,436 KB
testcase_04 AC 88 ms
75,392 KB
testcase_05 AC 87 ms
75,264 KB
testcase_06 AC 89 ms
75,304 KB
testcase_07 AC 90 ms
75,264 KB
testcase_08 AC 91 ms
75,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-

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

def janken(N, K):
    if N == K:
        return "Drew"
    elif (N == 0 and K == 1) or (N == 1 and K == 2) or (N == 2 and K == 0):
        return "Won"
    else:
        return "Lost"

print janken(N, K)
0