結果

問題 No.46 はじめのn歩
ユーザー minokasagominokasago
提出日時 2019-11-01 09:15:43
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 291 ms / 5,000 ms
コード長 131 bytes
コンパイル時間 12,056 ms
コンパイル使用メモリ 407,404 KB
実行使用メモリ 52,896 KB
最終ジャッジ日時 2023-10-13 00:20:14
合計ジャッジ時間 15,915 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 287 ms
52,876 KB
testcase_01 AC 287 ms
52,848 KB
testcase_02 AC 287 ms
52,852 KB
testcase_03 AC 287 ms
52,728 KB
testcase_04 AC 287 ms
52,896 KB
testcase_05 AC 289 ms
52,832 KB
testcase_06 AC 286 ms
52,764 KB
testcase_07 AC 285 ms
52,872 KB
testcase_08 AC 291 ms
52,824 KB
testcase_09 AC 289 ms
52,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main()
{
    val (a, b) = readLine()!!.split(" ").map(String::toInt)

    val ans = (b + (a - 1)) / a

    println("${ans}")
}
0