結果

問題 No.431 死亡フラグ
ユーザー miya145592miya145592
提出日時 2023-05-03 15:19:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 87,008 KB
実行使用メモリ 71,620 KB
最終ジャッジ日時 2023-08-14 00:53:25
合計ジャッジ時間 2,033 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
71,344 KB
testcase_01 AC 60 ms
71,316 KB
testcase_02 AC 59 ms
71,520 KB
testcase_03 AC 59 ms
71,348 KB
testcase_04 AC 61 ms
71,100 KB
testcase_05 AC 58 ms
71,448 KB
testcase_06 AC 58 ms
71,316 KB
testcase_07 AC 58 ms
71,468 KB
testcase_08 AC 58 ms
71,416 KB
testcase_09 AC 58 ms
71,324 KB
testcase_10 AC 59 ms
71,384 KB
testcase_11 AC 60 ms
71,448 KB
testcase_12 AC 59 ms
71,308 KB
testcase_13 AC 58 ms
71,120 KB
testcase_14 AC 59 ms
71,620 KB
testcase_15 AC 57 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

DS = list(map(int, input().split()))
if DS[-1]==1:
    print("SURVIVED")
else:
    if sum(DS[:3])>=2:
        print("DEAD")
    else:
        print("SURVIVED")
0