結果

問題 No.264 じゃんけん
ユーザー gma712gma712
提出日時 2018-08-08 23:01:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 11,808 KB
実行使用メモリ 9,876 KB
最終ジャッジ日時 2023-10-24 11:54:19
合計ジャッジ時間 1,419 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
9,856 KB
testcase_01 WA -
testcase_02 AC 28 ms
9,856 KB
testcase_03 AC 27 ms
9,856 KB
testcase_04 AC 28 ms
9,856 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 27 ms
9,856 KB
testcase_08 AC 26 ms
9,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input().split()
i = n[0]
y = n[1]
if i == y:
    print("Drew")
elif i == 0 and y == 1:
    print("Won")
elif i == 0 and y == 2:
    print("Lost")
elif i == 1 and y == 0:
    print("Lost")
elif i == 1 and y == 2:
    print("Won")
elif i == 2 and y == 0:
    print("Won")
else:
    print("Lost")
0