結果
問題 |
No.431 死亡フラグ
|
ユーザー |
![]() |
提出日時 | 2016-12-16 23:42:16 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 199 bytes |
コンパイル時間 | 478 ms |
コンパイル使用メモリ | 62,208 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 21:53:28 |
合計ジャッジ時間 | 1,128 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 4 |
ソースコード
#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; }