結果
| 問題 |
No.431 死亡フラグ
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-10-15 14:57:57 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 2,000 ms |
| コード長 | 191 bytes |
| コンパイル時間 | 1,772 ms |
| コンパイル使用メモリ | 192,016 KB |
| 最終ジャッジ日時 | 2025-02-08 06:33:39 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(d || a+b+c < 2) cout<<"SURVIVED"<<endl;
else cout<<"DEAD"<<endl;
}
keisuke6