結果

問題 No.431 死亡フラグ
ユーザー kawacchukawacchu
提出日時 2019-03-10 19:18:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 118 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,552 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2023-09-05 19:57:28
合計ジャッジ時間 1,170 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 16 ms
7,780 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 AC 15 ms
7,820 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 16 ms
7,780 KB
testcase_09 RE -
testcase_10 AC 16 ms
7,820 KB
testcase_11 AC 15 ms
7,820 KB
testcase_12 AC 15 ms
7,808 KB
testcase_13 RE -
testcase_14 AC 15 ms
7,792 KB
testcase_15 AC 15 ms
7,796 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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