結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
Naoki00712
|
| 提出日時 | 2023-05-31 17:24:05 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| 記録 | |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 35,840 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-23 08:13:56 |
| 合計ジャッジ時間 | 1,419 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 11 |
ソースコード
#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;
}
Naoki00712