結果

問題 No.388 階段 (1)
ユーザー da_louisda_louis
提出日時 2020-02-07 00:08:39
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 289 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 10,344 ms
コンパイル使用メモリ 429,360 KB
実行使用メモリ 54,440 KB
最終ジャッジ日時 2023-10-25 22:49:32
合計ジャッジ時間 15,635 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

fun p961() {
    val (s, f) = readLine()!!.split(' ').map { it.toInt() }

    val answer = s / f + 1

    println(answer)
}
0