結果

問題 No.207 世界のなんとか
ユーザー uchida_tuchida_t
提出日時 2023-04-14 14:39:40
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 310 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 13,676 ms
コンパイル使用メモリ 433,612 KB
実行使用メモリ 52,072 KB
最終ジャッジ日時 2024-04-18 13:12:53
合計ジャッジ時間 18,705 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 297 ms
51,792 KB
testcase_01 AC 296 ms
51,804 KB
testcase_02 AC 306 ms
51,892 KB
testcase_03 AC 298 ms
51,944 KB
testcase_04 AC 295 ms
51,784 KB
testcase_05 AC 298 ms
51,792 KB
testcase_06 AC 297 ms
51,780 KB
testcase_07 AC 293 ms
51,928 KB
testcase_08 AC 295 ms
51,908 KB
testcase_09 AC 302 ms
51,876 KB
testcase_10 AC 305 ms
51,812 KB
testcase_11 AC 307 ms
52,072 KB
testcase_12 AC 309 ms
51,696 KB
testcase_13 AC 310 ms
51,964 KB
testcase_14 AC 302 ms
51,964 KB
testcase_15 AC 299 ms
51,620 KB
testcase_16 AC 295 ms
51,936 KB
testcase_17 AC 292 ms
51,580 KB
testcase_18 AC 296 ms
51,812 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>){
         ^

ソースコード

diff #

fun main(args: Array<String>){
	var (a,b)=readLine()!!.split(" ").map(String::toInt)
	for(i in a..b) {
		if (i % 3 == 0 || i.toString().contains("3")) {
			println(i)
		}
	}
}
0