結果

問題 No.46 はじめのn歩
ユーザー Pump0129Pump0129
提出日時 2018-04-05 02:08:28
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 278 ms / 5,000 ms
コード長 222 bytes
コンパイル時間 8,852 ms
コンパイル使用メモリ 430,304 KB
実行使用メモリ 56,884 KB
最終ジャッジ日時 2024-04-30 18:00:43
合計ジャッジ時間 12,276 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 267 ms
56,704 KB
testcase_01 AC 278 ms
56,872 KB
testcase_02 AC 262 ms
56,808 KB
testcase_03 AC 262 ms
56,852 KB
testcase_04 AC 252 ms
56,728 KB
testcase_05 AC 255 ms
56,724 KB
testcase_06 AC 253 ms
56,824 KB
testcase_07 AC 257 ms
56,656 KB
testcase_08 AC 253 ms
56,884 KB
testcase_09 AC 252 ms
56,716 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:3:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

package net.ipipip0129.kotlin.yukicoder

fun main(args: Array<String>) {
    val line = readLine()!!.split(" ")
    val i = line[0].toDouble()
    val j = line[1].toDouble()

    println(Math.ceil(j / i).toInt())
}
0