結果

問題 No.431 死亡フラグ
ユーザー H_Iduna
提出日時 2016-12-16 23:47:04
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 200 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 53,624 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 21:53:30
合計ジャッジ時間 1,111 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
	int a,b,c,l;
	cin >> a >> b >> c >> l;
		if( l = 1 || a+b+c  <= 1)
			cout << "SURVIVED"  << endl;
		else
			cout << "DEAD" << endl;
	return 0;
	}
0