結果

問題 No.264 じゃんけん
ユーザー ssmkzk
提出日時 2018-05-11 13:14:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 447 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-28 03:56:54
合計ジャッジ時間 881 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

l = list(map(int, input().split()))

if l[0] == 0:
    if l[1] == 0:
        print ("Drew")
    if l[1] == 1:
        print ("Won")
    if l[1] == 2:
        print ("Lost")

if l[0] == 1:
    if l[1] == 1:
        print ("Drew")
    if l[1] == 2:
        print ("Won")
    if l[1] == 0:
        print ("Lost")

if l[0] == 2:
    if l[1] == 2:
        print ("Drew")
    if l[1] == 0:
        print ("Won")
    if l[1] == 1:
        print ("Lost")
0