結果

問題 No.207 世界のなんとか
ユーザー kotakota
提出日時 2022-05-18 17:52:44
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 285 ms / 5,000 ms
コード長 181 bytes
コンパイル時間 15,860 ms
コンパイル使用メモリ 419,616 KB
実行使用メモリ 53,492 KB
最終ジャッジ日時 2023-10-15 02:27:55
合計ジャッジ時間 20,111 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 279 ms
52,944 KB
testcase_01 AC 277 ms
52,984 KB
testcase_02 AC 283 ms
52,920 KB
testcase_03 AC 283 ms
52,972 KB
testcase_04 AC 280 ms
53,460 KB
testcase_05 AC 283 ms
53,076 KB
testcase_06 AC 280 ms
52,860 KB
testcase_07 AC 280 ms
53,492 KB
testcase_08 AC 276 ms
52,980 KB
testcase_09 AC 284 ms
52,928 KB
testcase_10 AC 285 ms
52,956 KB
testcase_11 AC 282 ms
52,900 KB
testcase_12 AC 284 ms
53,168 KB
testcase_13 AC 285 ms
53,464 KB
testcase_14 AC 275 ms
52,924 KB
testcase_15 AC 276 ms
52,952 KB
testcase_16 AC 281 ms
52,884 KB
testcase_17 AC 280 ms
52,964 KB
testcase_18 AC 277 ms
52,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val (a,b) = readLine()!!.split(" ").map{it.toInt()}
    for (i in a..b) {
        if (i % 3 == 0 || "3" in i.toString()) {
            println(i)
        } 
    }
}
0