結果

問題 No.388 階段 (1)
ユーザー moritarmoritar
提出日時 2021-03-21 23:36:42
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 270 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 13,587 ms
コンパイル使用メモリ 411,936 KB
実行使用メモリ 53,176 KB
最終ジャッジ日時 2023-08-14 19:00:43
合計ジャッジ時間 18,569 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 270 ms
52,804 KB
testcase_01 AC 260 ms
52,844 KB
testcase_02 AC 250 ms
52,824 KB
testcase_03 AC 260 ms
53,176 KB
testcase_04 AC 250 ms
53,004 KB
testcase_05 AC 255 ms
53,032 KB
testcase_06 AC 251 ms
52,840 KB
testcase_07 AC 253 ms
52,840 KB
testcase_08 AC 251 ms
52,784 KB
testcase_09 AC 253 ms
52,820 KB
testcase_10 AC 254 ms
52,840 KB
testcase_11 AC 255 ms
52,844 KB
testcase_12 AC 253 ms
52,868 KB
testcase_13 AC 254 ms
52,976 KB
testcase_14 AC 255 ms
52,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import kotlin.math.floor

fun main() {
    readLine()!!.split(" ").map {it.toInt()}.let {
        println(floor((it[0].toDouble() / it[1].toDouble())).toInt() + 1)
    }
}
0