結果

問題 No.431 死亡フラグ
ユーザー KisaragiEffective
提出日時 2019-11-17 21:00:31
言語 Kotlin
(2.1.0)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 10,332 ms
コンパイル使用メモリ 428,512 KB
実行使用メモリ 57,080 KB
最終ジャッジ日時 2024-09-25 06:09:12
合計ジャッジ時間 15,059 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main(){val(d,e,f,s)=readLine()!!.split(" ").map{it.toInt()}
println(if(s>0||(d>0&&e>0||e>0&&f>0||f>0&&d>0))"SURVIVED" else "DEAD")}
0