結果
問題 | No.431 死亡フラグ |
ユーザー |
|
提出日時 | 2019-11-17 21:00:31 |
言語 | Kotlin (1.9.23) |
結果 |
WA
|
実行時間 | - |
コード長 | 135 bytes |
コンパイル時間 | 10,332 ms |
コンパイル使用メモリ | 428,512 KB |
実行使用メモリ | 57,080 KB |
最終ジャッジ日時 | 2024-09-25 06:09:12 |
合計ジャッジ時間 | 15,059 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 276 ms
57,080 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 284 ms
56,816 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | AC | 271 ms
56,932 KB |
testcase_09 | WA | - |
testcase_10 | AC | 268 ms
56,784 KB |
testcase_11 | AC | 265 ms
56,992 KB |
testcase_12 | AC | 266 ms
56,776 KB |
testcase_13 | WA | - |
testcase_14 | AC | 267 ms
56,920 KB |
testcase_15 | AC | 264 ms
56,928 KB |
ソースコード
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")}