結果

問題 No.264 じゃんけん
コンテスト
ユーザー object1234
提出日時 2026-02-01 17:02:24
言語 Python3
(3.14.3 + numpy 2.4.2 + scipy 1.17.0)
結果
AC  
実行時間 144 ms / 5,000 ms
コード長 398 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 643 ms
コンパイル使用メモリ 20,688 KB
実行使用メモリ 15,488 KB
最終ジャッジ日時 2026-02-01 17:02:28
合計ジャッジ時間 2,928 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

in_num,out_num = map(int,input().split())

if in_num == out_num:
    print("Drew")
elif in_num == 0 and out_num == 1:
    print("Won")
elif in_num == 0 and out_num == 2:
    print("Lost")
elif in_num == 1 and out_num == 2:
    print("Won")
elif in_num == 1 and out_num == 0:
    print("Lost")
elif in_num == 2 and out_num == 0:
    print("Won")
elif in_num == 2 and out_num == 1:
    print("Lost")
0