結果

問題 No.431 死亡フラグ
ユーザー bal4u
提出日時 2019-04-17 08:31:18
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-22 08:27:11
合計ジャッジ時間 701 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

// yukicoder: No.431 死亡フラグ
// 2019.4.17 bal4u

#include <stdio.h>

int main()
{
	int a, b, c, s;
	scanf("%d%d%d%d", &a, &b, &c, &s);
	puts(s || (a+b+c < 2)? "SURVIVED": "DEAD");
	return 0;
}
0