結果

問題 No.431 死亡フラグ
ユーザー kohei2019kohei2019
提出日時 2022-01-24 23:42:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 993 ms
コンパイル使用メモリ 86,920 KB
実行使用メモリ 71,448 KB
最終ジャッジ日時 2023-08-21 14:58:44
合計ジャッジ時間 2,588 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,300 KB
testcase_01 AC 66 ms
71,448 KB
testcase_02 AC 66 ms
71,228 KB
testcase_03 AC 66 ms
71,020 KB
testcase_04 AC 66 ms
71,348 KB
testcase_05 AC 67 ms
71,392 KB
testcase_06 AC 69 ms
70,912 KB
testcase_07 AC 68 ms
71,336 KB
testcase_08 AC 69 ms
71,020 KB
testcase_09 AC 67 ms
71,168 KB
testcase_10 AC 67 ms
71,380 KB
testcase_11 AC 67 ms
71,304 KB
testcase_12 AC 66 ms
71,340 KB
testcase_13 AC 67 ms
71,256 KB
testcase_14 AC 67 ms
71,200 KB
testcase_15 AC 69 ms
71,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ls = list(map(int,input().split()))
if ls[-1] == 1:
    print("SURVIVED")
    exit()
if ls[:3].count(1) < 2:
    print("SURVIVED")
    exit()
print('DEAD')
0