結果
| 問題 |
No.431 死亡フラグ
|
| コンテスト | |
| ユーザー |
sqrt_3
|
| 提出日時 | 2017-03-02 22:21:22 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 241 bytes |
| コンパイル時間 | 464 ms |
| コンパイル使用メモリ | 57,680 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-13 01:42:45 |
| 合計ジャッジ時間 | 1,481 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
//typedef __int64 LL;
int main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(a+b+c>=2 && d==0)cout<<"DEAD"<<endl;
else cout<<"SURVIVED"<<endl;
return 0;
}
sqrt_3