結果

問題 No.46 はじめのn歩
ユーザー da_louisda_louis
提出日時 2020-02-07 00:06:39
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 292 ms / 5,000 ms
コード長 187 bytes
コンパイル時間 10,715 ms
コンパイル使用メモリ 438,288 KB
実行使用メモリ 54,384 KB
最終ジャッジ日時 2023-10-25 22:49:01
合計ジャッジ時間 14,573 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 288 ms
54,380 KB
testcase_01 AC 286 ms
54,376 KB
testcase_02 AC 286 ms
54,384 KB
testcase_03 AC 290 ms
54,376 KB
testcase_04 AC 290 ms
54,384 KB
testcase_05 AC 289 ms
54,384 KB
testcase_06 AC 290 ms
54,380 KB
testcase_07 AC 292 ms
54,376 KB
testcase_08 AC 289 ms
54,372 KB
testcase_09 AC 288 ms
54,384 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    p43()
}

fun p43() {
    val (a, b) = readLine()!!.split(' ').map { it.toDouble() }

    val answer = Math.ceil(b / a).toLong()

    println(answer)
}
0