結果

問題 No.431 死亡フラグ
ユーザー maasin
提出日時 2017-11-05 18:41:14
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-24 02:55:39
合計ジャッジ時間 1,305 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

# input
t = input().split()
s = int(t[3])
d = 0

for i in range(3):
    d += int(t[i])
if s == 1:
    print('SURVIVED')
else:
    if d < 2:
        print('SURVIVED')
    else:
        print('DEAD')
0