結果

問題 No.32 貯金箱の憂鬱
ユーザー da_louisda_louis
提出日時 2020-02-07 00:27:42
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 13,451 ms
コンパイル使用メモリ 445,700 KB
実行使用メモリ 54,152 KB
最終ジャッジ日時 2023-10-25 22:51:42
合計ジャッジ時間 16,319 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

fun p5() {
    var (l, m, n) = (1..3).map { readLine()!!.toInt() }

    m += n / 25
    l += m / 4

    val answer = l / 1000 + l % 1000

    println(answer)
}
0