結果

問題 No.431 死亡フラグ
ユーザー 田山悠人
提出日時 2022-04-26 15:50:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-06-28 07:28:53
合計ジャッジ時間 1,523 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    inp = list(map(int, input().split()))
    yes = "SURVIVED"
    no = "DEAD"

    if inp[3] == 1 or sum(inp[0:2]) < 2:
        print(yes)
    else:
        print(no) 
0