結果

問題 No.32 貯金箱の憂鬱
ユーザー pro_kunipro_kuni
提出日時 2018-06-19 23:52:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 87,220 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-09-30 13:12:53
合計ジャッジ時間 1,883 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,584 KB
testcase_01 AC 72 ms
71,396 KB
testcase_02 AC 73 ms
71,536 KB
testcase_03 AC 71 ms
71,404 KB
testcase_04 AC 76 ms
71,516 KB
testcase_05 AC 73 ms
71,388 KB
testcase_06 AC 71 ms
71,272 KB
testcase_07 AC 72 ms
71,572 KB
testcase_08 AC 72 ms
71,280 KB
testcase_09 AC 72 ms
71,328 KB
testcase_10 AC 71 ms
71,420 KB
testcase_11 AC 70 ms
71,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

if __name__ == '__main__':
    l = int(input())
    m = int(input())
    n = int(input())

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

    print(l + m + n)
0