結果
| 問題 |
No.431 死亡フラグ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-27 23:17:32 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 17 ms / 2,000 ms |
| コード長 | 199 bytes |
| コンパイル時間 | 1,776 ms |
| コンパイル使用メモリ | 190,752 KB |
| 最終ジャッジ日時 | 2025-01-07 09:41:03 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int d, e, f, s;
cin>>d>>e>>f>>s;
if (s||d+e+f<2) puts("SURVIVED");
else puts("DEAD");
return 0;
}