結果

問題 No.773 コンテスト
ユーザー バカらっくバカらっく
提出日時 2022-02-14 17:05:17
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 323 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 12,485 ms
コンパイル使用メモリ 419,020 KB
実行使用メモリ 57,016 KB
最終ジャッジ日時 2023-09-11 16:44:28
合計ジャッジ時間 22,124 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 306 ms
56,732 KB
testcase_01 AC 300 ms
56,760 KB
testcase_02 AC 305 ms
56,764 KB
testcase_03 AC 305 ms
56,860 KB
testcase_04 AC 299 ms
56,804 KB
testcase_05 AC 299 ms
56,736 KB
testcase_06 AC 323 ms
56,916 KB
testcase_07 AC 307 ms
56,780 KB
testcase_08 AC 306 ms
56,864 KB
testcase_09 AC 301 ms
56,884 KB
testcase_10 AC 300 ms
56,912 KB
testcase_11 AC 300 ms
56,800 KB
testcase_12 AC 309 ms
56,808 KB
testcase_13 AC 301 ms
57,016 KB
testcase_14 AC 302 ms
56,748 KB
testcase_15 AC 306 ms
56,736 KB
testcase_16 AC 303 ms
56,980 KB
testcase_17 AC 302 ms
56,644 KB
testcase_18 AC 303 ms
56,780 KB
testcase_19 AC 303 ms
56,772 KB
testcase_20 AC 306 ms
56,904 KB
testcase_21 AC 306 ms
56,668 KB
testcase_22 AC 305 ms
56,788 KB
testcase_23 AC 306 ms
56,780 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    val a = listOf(23,24,25)
    val ab = readLine()!!.split(" ").map { it.toInt() }.let { (it[0]..it[1]) }
    println(a.count { it !in ab })
}
0