結果

問題 No.264 じゃんけん
コンテスト
ユーザー zhongcunyonggui57-hue
提出日時 2025-11-12 18:09:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 411 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-11-12 18:09:14
合計ジャッジ時間 1,871 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

list1=list(map(int, input().split()))
N = list1[0]
K = list1[1]
if N == 0:
    if N==K:
        print('Drew')
    elif N+K==1:
        print('Won')
    else:
        print('Lost')
if N == 1:
    if N==K:
        print('Drew')
    elif N+K==3:
        print('Won')
    else:
        print('Lost')
if N == 2:
    if N==K:
        print('Drew')
    elif N+K==2:
        print('Won')
    else:
        print('Lost')
0