結果

問題 No.264 じゃんけん
ユーザー lloyzlloyz
提出日時 2023-03-19 01:53:27
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 126 bytes
コンパイル時間 68 ms
使用メモリ 9,760 KB
最終ジャッジ日時 2023-03-19 01:53:29
合計ジャッジ時間 1,204 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 13 ms
7,588 KB
testcase_01 AC 14 ms
7,652 KB
testcase_02 AC 14 ms
7,612 KB
testcase_03 AC 15 ms
7,700 KB
testcase_04 AC 14 ms
7,668 KB
testcase_05 AC 15 ms
7,644 KB
testcase_06 AC 15 ms
7,696 KB
testcase_07 AC 14 ms
9,760 KB
testcase_08 AC 14 ms
7,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
if n == k:
    print("Drew")
elif (n + 1) % 3 == k:
    print("Won")
else:
    print("Lost")
0