結果

問題 No.431 死亡フラグ
ユーザー Naoki00712
提出日時 2023-05-31 17:24:05
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 452 ms
コンパイル使用メモリ 27,520 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-28 13:56:42
合計ジャッジ時間 1,057 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
	int d[3], s;
	scanf("%d", &d[0], &d[1], &d[2], &s);

	if (d[0] + d[1] + d[2] < 2 || s == 1)
	{
		printf("SURVIVED");
	}
	else
	{
		printf("DEAD");
	}

	return 0;
}
0