結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
|
提出日時 | 2017-09-05 16:36:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 398 bytes |
コンパイル時間 | 216 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-23 06:39:47 |
合計ジャッジ時間 | 1,207 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
# 標準入力から一行分を読み出し、文字列として格納する。L = int(input())M = int(input())N = int(input())total = L * 100 + M * 25 + Nthousand_count = total // 1000total -= thousand_count * 1000hundred_count = total // 100total -= hundred_count * 100quater_count = total // 25total -= quater_count * 25one_count = totalprint(hundred_count+quater_count+one_count)