結果

問題 No.431 死亡フラグ
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-10-09 10:28:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 1,730 ms
コンパイル使用メモリ 86,696 KB
実行使用メモリ 71,364 KB
最終ジャッジ日時 2023-10-01 05:36:41
合計ジャッジ時間 4,394 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
71,124 KB
testcase_01 AC 81 ms
71,132 KB
testcase_02 AC 81 ms
71,168 KB
testcase_03 AC 82 ms
71,240 KB
testcase_04 AC 81 ms
71,276 KB
testcase_05 AC 80 ms
70,992 KB
testcase_06 AC 81 ms
71,164 KB
testcase_07 AC 86 ms
71,244 KB
testcase_08 AC 81 ms
71,276 KB
testcase_09 AC 80 ms
71,268 KB
testcase_10 AC 85 ms
71,204 KB
testcase_11 AC 86 ms
71,364 KB
testcase_12 AC 81 ms
71,248 KB
testcase_13 AC 82 ms
71,108 KB
testcase_14 AC 81 ms
71,260 KB
testcase_15 AC 82 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

d1,d2,d3,s = map(int,input().split())
if d1+d2+d3 >= 2:
    if s == 1:
        print("SURVIVED")
    else:
        print("DEAD")
else:
    print("SURVIVED")
0