結果

問題 No.388 階段 (1)
ユーザー da_louis
提出日時 2020-02-07 00:08:39
言語 Kotlin
(2.1.0)
結果
AC  
実行時間 320 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 10,784 ms
コンパイル使用メモリ 433,456 KB
実行使用メモリ 56,936 KB
最終ジャッジ日時 2024-09-25 07:03:45
合計ジャッジ時間 16,515 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
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