結果
| 問題 | No.431 死亡フラグ | 
| コンテスト | |
| ユーザー |  jzn | 
| 提出日時 | 2019-02-11 13:52:40 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 330 bytes | 
| コンパイル時間 | 353 ms | 
| コンパイル使用メモリ | 55,076 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-07-18 09:06:49 | 
| 合計ジャッジ時間 | 2,716 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | RE * 16 | 
ソースコード
#include <iostream>
int main()
{
    int D[3];
    
    for(int i=0; i<=3; i++)
    {
        std::cin >> D[i];
    }
    
    D[0] = D[0]+D[1]+D[2]+D[3];
    
    if(D[0]>=2)
    {
        std::cout << "SURVIVED" << std::endl;
    } 
    else if(D[0]<2)
    {
        std::cout << "DEAD" << std::endl;
    }
    
    return 0;
}
            
            
            
        