結果

問題 No.207 世界のなんとか
ユーザー バカらっくバカらっく
提出日時 2019-09-23 10:36:53
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 342 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 13,685 ms
コンパイル使用メモリ 430,172 KB
実行使用メモリ 54,580 KB
最終ジャッジ日時 2023-10-19 07:57:00
合計ジャッジ時間 21,982 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 332 ms
54,544 KB
testcase_01 AC 328 ms
54,528 KB
testcase_02 AC 336 ms
54,580 KB
testcase_03 AC 335 ms
54,552 KB
testcase_04 AC 328 ms
54,540 KB
testcase_05 AC 329 ms
54,564 KB
testcase_06 AC 330 ms
54,532 KB
testcase_07 AC 324 ms
54,524 KB
testcase_08 AC 325 ms
54,536 KB
testcase_09 AC 335 ms
54,568 KB
testcase_10 AC 335 ms
54,572 KB
testcase_11 AC 331 ms
54,568 KB
testcase_12 AC 342 ms
54,572 KB
testcase_13 AC 332 ms
54,564 KB
testcase_14 AC 336 ms
54,576 KB
testcase_15 AC 335 ms
54,568 KB
testcase_16 AC 335 ms
54,540 KB
testcase_17 AC 334 ms
54,528 KB
testcase_18 AC 331 ms
54,536 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'arr' is never used
fun main(arr:Array<String>) {
         ^

ソースコード

diff #

fun main(arr:Array<String>) {
    readLine()!!.split(" ").map { it.toLong() }.let { (it[0]..it[1]) }.filter { it%3 == 0.toLong() || it.toString().contains('3') }.forEach { println(it) }
}

0