結果

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

ソースコード

diff #

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

for i in t:
    d += int(i)

if s == 1:
    print('SURVIVED')
else:
    if d < 2:
        print('SERVIVED')
    else:
        print('DEAD')
0