結果

問題 No.264 じゃんけん
ユーザー utsumidaisukeutsumidaisuke
提出日時 2017-03-10 10:44:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 5,000 ms
コード長 307 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 7,892 KB
最終ジャッジ日時 2023-09-06 12:57:42
合計ジャッジ時間 841 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,856 KB
testcase_01 AC 14 ms
7,816 KB
testcase_02 AC 15 ms
7,832 KB
testcase_03 AC 16 ms
7,800 KB
testcase_04 AC 16 ms
7,860 KB
testcase_05 AC 16 ms
7,848 KB
testcase_06 AC 15 ms
7,892 KB
testcase_07 AC 14 ms
7,828 KB
testcase_08 AC 15 ms
7,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = input().split()

if a == b:
    print('Drew')
elif a == '0':
    if b == '1':
        print('Won')
    else:
        print('Lost')
elif a == '1':
    if b == '2':
        print('Won')
    else:
        print('Lost')
else:
    if b == '0':
        print('Won')
    else:
        print('Lost')
        
0