結果

問題 No.264 じゃんけん
ユーザー sbgitusersbgituser
提出日時 2018-03-15 12:35:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 364 bytes
コンパイル時間 1,601 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,436 KB
最終ジャッジ日時 2023-08-22 10:30:06
合計ジャッジ時間 2,536 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,268 KB
testcase_01 AC 71 ms
71,208 KB
testcase_02 AC 70 ms
71,228 KB
testcase_03 AC 71 ms
71,280 KB
testcase_04 AC 73 ms
71,108 KB
testcase_05 AC 70 ms
71,212 KB
testcase_06 AC 71 ms
71,436 KB
testcase_07 AC 71 ms
71,200 KB
testcase_08 AC 73 ms
70,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

nlist = list(map(int, input().split()))

if nlist[0] == nlist[1]:
    print("Drew")
    exit()

if nlist[0] == 0:
    if nlist[1] == 1:
        print("Won")
    else:
        print("Lost")
elif nlist[0] == 1:
    if nlist[1] == 2:
        print("Won")
    else:
        print("Lost")
else:
    if nlist[1] == 0:
        print("Won")
    else:
        print("Lost")
0