結果

問題 No.264 じゃんけん
ユーザー Fullmoon85072Fullmoon85072
提出日時 2020-08-01 15:39:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 474 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 71,480 KB
最終ジャッジ日時 2023-09-22 10:51:15
合計ジャッジ時間 1,727 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 73 ms
71,028 KB
testcase_02 AC 73 ms
71,372 KB
testcase_03 AC 77 ms
71,372 KB
testcase_04 WA -
testcase_05 AC 73 ms
71,276 KB
testcase_06 AC 74 ms
71,172 KB
testcase_07 AC 75 ms
71,184 KB
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

own, opponent = input().split(" ")
own = int(own)
opponent = int(opponent)

if own == 0:
    if opponent == 0:
        print("Draw")
    elif opponent == 1:
        print("Won")
    else:
        print("Lost")

elif own == 1:
    if opponent == 0:
        print("Lost")
    elif opponent == 1:
        print("Draw")
    else:
        print("Won")

else:
    if opponent == 0:
        print("Won")
    elif opponent == 1:
        print("Lost")
    else:
        print("Draw")
0