結果

問題 No.32 貯金箱の憂鬱
ユーザー kotakota
提出日時 2022-05-18 18:01:11
言語 Kotlin
(1.9.10)
結果
AC  
実行時間 257 ms / 5,000 ms
コード長 249 bytes
コンパイル時間 11,936 ms
コンパイル使用メモリ 409,320 KB
実行使用メモリ 52,156 KB
最終ジャッジ日時 2023-10-15 02:47:59
合計ジャッジ時間 15,962 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 250 ms
50,236 KB
testcase_01 AC 253 ms
52,156 KB
testcase_02 AC 256 ms
50,420 KB
testcase_03 AC 248 ms
50,272 KB
testcase_04 AC 248 ms
50,356 KB
testcase_05 AC 254 ms
50,272 KB
testcase_06 AC 253 ms
50,184 KB
testcase_07 AC 254 ms
50,596 KB
testcase_08 AC 253 ms
50,172 KB
testcase_09 AC 253 ms
50,364 KB
testcase_10 AC 257 ms
50,200 KB
testcase_11 AC 253 ms
50,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    var l = readLine()!!.toInt()
    var m = readLine()!!.toInt()
    var n = readLine()!!.toInt()

    var count = 0
    
    count += n % 25
    m += n / 25

    count += m % 4
    l += m / 4

    count += l % 10

    println(count)
}
0