結果

問題 No.431 死亡フラグ
ユーザー th90tk297
提出日時 2017-10-24 23:01:59
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 681 ms
コンパイル使用メモリ 65,916 KB
最終ジャッジ日時 2025-01-05 03:27:14
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
	int a,b,c,d;cin>>a>>b>>c>>d;
	a+=b+c;
	if(d||a<2)cout<<"SURVIVE\n";
	else cout<<"DEAD\n";
	return 0;
}
0