結果
問題 | No.207 世界のなんとか |
ユーザー |
![]() |
提出日時 | 2019-09-23 10:36:53 |
言語 | Kotlin (2.1.0) |
結果 |
AC
|
実行時間 | 326 ms / 5,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 11,594 ms |
コンパイル使用メモリ | 433,172 KB |
実行使用メモリ | 57,152 KB |
最終ジャッジ日時 | 2024-09-19 04:13:52 |
合計ジャッジ時間 | 19,031 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 |
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'arr' is never used fun main(arr:Array<String>) { ^
ソースコード
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) }}