結果

問題 No.431 死亡フラグ
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-11-17 21:00:31
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 12,056 ms
コンパイル使用メモリ 429,640 KB
実行使用メモリ 54,492 KB
最終ジャッジ日時 2023-10-25 21:32:20
合計ジャッジ時間 19,186 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 306 ms
54,488 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 302 ms
54,476 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 312 ms
54,484 KB
testcase_09 WA -
testcase_10 AC 310 ms
54,476 KB
testcase_11 AC 316 ms
54,488 KB
testcase_12 AC 319 ms
54,484 KB
testcase_13 WA -
testcase_14 AC 306 ms
54,484 KB
testcase_15 AC 307 ms
54,488 KB
権限があれば一括ダウンロードができます

ソースコード

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