結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
Series_205
|
| 提出日時 | 2019-10-23 17:22:38 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 677 ms |
| コンパイル使用メモリ | 64,320 KB |
| 最終ジャッジ日時 | 2025-01-08 00:51:19 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include <iostream>
using namespace std;
int x,y,z,d,l;
int main(){
cin>>x>>y>>z>>l;
d=x+y+z;
if(l||d<2)cout<<"SURVIVED\n";
else cout<<"DEAD\n";
return 0;
}
Series_205