結果

問題 No.264 じゃんけん
ユーザー splash9494splash9494
提出日時 2020-05-02 19:08:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 515 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 71,616 KB
最終ジャッジ日時 2023-08-30 01:42:02
合計ジャッジ時間 2,247 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,604 KB
testcase_01 AC 69 ms
71,408 KB
testcase_02 AC 70 ms
71,616 KB
testcase_03 AC 70 ms
71,464 KB
testcase_04 AC 70 ms
71,360 KB
testcase_05 AC 71 ms
71,168 KB
testcase_06 AC 72 ms
71,596 KB
testcase_07 AC 70 ms
71,612 KB
testcase_08 AC 71 ms
71,596 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

me, op = map(int, input().split())

if (me - 1) % 3 == op:
    print('Lost')
elif (me + 1) % 3 == op:
    print('Won')
else:
    print('Drew')
0