結果

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

ソースコード

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('SERVIVED')
    else:
        print('DEAD')
0