結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | misa2001space |
提出日時 | 2016-09-28 23:07:04 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 235 bytes |
コンパイル時間 | 392 ms |
コンパイル使用メモリ | 6,696 KB |
実行使用メモリ | 6,220 KB |
最終ジャッジ日時 | 2023-09-30 08:14:32 |
合計ジャッジ時間 | 996 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 12 ms
6,044 KB |
testcase_01 | AC | 11 ms
6,024 KB |
testcase_02 | AC | 11 ms
6,024 KB |
testcase_03 | AC | 11 ms
6,080 KB |
testcase_04 | AC | 11 ms
6,160 KB |
testcase_05 | AC | 12 ms
6,024 KB |
testcase_06 | AC | 11 ms
5,936 KB |
testcase_07 | AC | 11 ms
6,024 KB |
testcase_08 | AC | 12 ms
6,220 KB |
testcase_09 | AC | 11 ms
6,076 KB |
testcase_10 | AC | 12 ms
6,076 KB |
testcase_11 | AC | 11 ms
5,932 KB |
ソースコード
# -*- coding: utf-8 -*- L = input() M = input() N = input() c = 0 if N / 25 > 0: M += N / 25 c += N % 25 else: c += N if M / 4 > 0: L += M / 4 c += M % 4 else: c += L if L / 10 > 0: c += L % 10 print c