結果

問題 No.1446 ハンバーグと納豆ごはん
ユーザー face4face4
提出日時 2021-04-07 21:05:01
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 305 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 15,936 ms
コンパイル使用メモリ 414,216 KB
実行使用メモリ 54,708 KB
最終ジャッジ日時 2023-09-05 04:52:16
合計ジャッジ時間 30,665 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 299 ms
52,464 KB
testcase_01 AC 294 ms
53,144 KB
testcase_02 AC 295 ms
52,652 KB
testcase_03 AC 295 ms
53,244 KB
testcase_04 AC 298 ms
53,028 KB
testcase_05 AC 305 ms
52,440 KB
testcase_06 AC 296 ms
52,700 KB
testcase_07 AC 297 ms
52,592 KB
testcase_08 AC 296 ms
52,764 KB
testcase_09 AC 300 ms
52,796 KB
testcase_10 AC 296 ms
52,928 KB
testcase_11 AC 296 ms
52,828 KB
testcase_12 AC 295 ms
54,708 KB
testcase_13 AC 295 ms
52,644 KB
testcase_14 AC 294 ms
52,796 KB
testcase_15 AC 295 ms
52,856 KB
testcase_16 AC 301 ms
52,864 KB
testcase_17 AC 298 ms
53,028 KB
testcase_18 AC 294 ms
52,852 KB
testcase_19 AC 298 ms
53,284 KB
testcase_20 AC 297 ms
52,536 KB
testcase_21 AC 296 ms
52,636 KB
testcase_22 AC 295 ms
52,536 KB
testcase_23 AC 291 ms
52,456 KB
testcase_24 AC 296 ms
52,472 KB
testcase_25 AC 297 ms
52,948 KB
testcase_26 AC 297 ms
52,612 KB
testcase_27 AC 303 ms
52,484 KB
testcase_28 AC 295 ms
52,620 KB
testcase_29 AC 296 ms
52,544 KB
testcase_30 AC 296 ms
52,540 KB
testcase_31 AC 300 ms
52,684 KB
testcase_32 AC 300 ms
52,892 KB
testcase_33 AC 301 ms
52,676 KB
testcase_34 AC 296 ms
52,592 KB
testcase_35 AC 300 ms
52,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main(){
    val (a, b, n, m) = readLine()!!.split(" ").map{it.toLong()}
    println(with(Math.min(a,b)){this+(a-this)/(n+1)+(b-this)/(m+1)})
}
0