結果
問題 |
No.431 死亡フラグ
|
ユーザー |
![]() |
提出日時 | 2020-12-07 21:11:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 212 bytes |
コンパイル時間 | 1,884 ms |
コンパイル使用メモリ | 191,912 KB |
最終ジャッジ日時 | 2025-01-16 19:02:43 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int d1,d2,d3,l; cin>>d1>>d2>>d3>>l; if(d1+d2+d3>=2 && l==0){ cout<<"DEAD"<<endl; } else{ cout<<"SURVIVED"<<endl; } return 0; }