結果

問題 No.1107 三善アクセント
ユーザー バカらっくバカらっく
提出日時 2022-02-14 10:40:15
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 292 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 11,963 ms
コンパイル使用メモリ 409,916 KB
実行使用メモリ 53,080 KB
最終ジャッジ日時 2023-09-11 16:03:02
合計ジャッジ時間 22,086 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 289 ms
52,844 KB
testcase_01 AC 287 ms
53,080 KB
testcase_02 AC 292 ms
52,744 KB
testcase_03 AC 290 ms
52,640 KB
testcase_04 AC 289 ms
52,792 KB
testcase_05 AC 292 ms
52,896 KB
testcase_06 AC 289 ms
52,772 KB
testcase_07 AC 290 ms
52,812 KB
testcase_08 AC 292 ms
52,652 KB
testcase_09 AC 290 ms
52,908 KB
testcase_10 AC 288 ms
52,816 KB
testcase_11 AC 292 ms
52,888 KB
testcase_12 AC 290 ms
52,744 KB
testcase_13 AC 287 ms
52,776 KB
testcase_14 AC 287 ms
53,016 KB
testcase_15 AC 288 ms
52,804 KB
testcase_16 AC 289 ms
52,832 KB
testcase_17 AC 290 ms
52,760 KB
testcase_18 AC 288 ms
52,840 KB
testcase_19 AC 284 ms
52,792 KB
testcase_20 AC 285 ms
52,820 KB
testcase_21 AC 288 ms
52,828 KB
testcase_22 AC 286 ms
52,928 KB
testcase_23 AC 285 ms
52,724 KB
testcase_24 AC 287 ms
52,812 KB
testcase_25 AC 287 ms
53,028 KB
testcase_26 AC 286 ms
52,768 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    println(if(getAns()) "YES" else "NO")
}

fun getAns():Boolean {
    val (a,b,c,d) = readLine()!!.split(" ").map { it.toInt() }
    return a < b && c > d
}
0