結果

問題 No.264 じゃんけん
ユーザー Shoya SATOShoya SATO
提出日時 2020-10-08 15:10:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 349 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 7,908 KB
最終ジャッジ日時 2023-09-27 11:49:49
合計ジャッジ時間 915 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,800 KB
testcase_01 AC 13 ms
7,844 KB
testcase_02 AC 13 ms
7,908 KB
testcase_03 AC 14 ms
7,844 KB
testcase_04 AC 14 ms
7,796 KB
testcase_05 AC 13 ms
7,792 KB
testcase_06 AC 13 ms
7,808 KB
testcase_07 AC 13 ms
7,860 KB
testcase_08 AC 12 ms
7,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
w='Won'
l='Lost'
d='Drew'
if a ==0:
    if b==1:
        print(w)
    elif b==2:
        print(l)
    else:
        print(d)
elif a ==1:
    if b==2:
        print(w)
    elif b==0:
        print(l)
    else:
        print(d)
else:
    if b==0:
        print(w)
    elif b==1:
        print(l)
    else:
        print(d)
0