結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
a3636tako
|
| 提出日時 | 2016-10-28 18:44:33 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 354µs | |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 823 ms |
| コンパイル使用メモリ | 175,364 KB |
| 実行使用メモリ | 9,920 KB |
| 最終ジャッジ日時 | 2026-09-29 00:36:21 |
| 合計ジャッジ時間 | 2,113 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int d1, d2, d3, s;
cin >> d1 >> d2 >> d3 >> s;
if(d1 + d2 + d3 <= 1 || s){
cout << "SURVIVED" << endl;
}else{
cout << "DEAD" << endl;
}
}
a3636tako