結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-10 00:04:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 377 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-28 02:52:42 |
| 合計ジャッジ時間 | 1,035 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 12 |
ソースコード
nums = []
nums[0] = int(input())
nums[1] = int(input())
nums[2] = int(input())
money = nums[0]*100 + nums[1]*25 + nums[2]
cnt = 0
thous = money // 1000
if thous!= 0:
#cnt += thous
money -= 1000*thous
hands = money // 100
if hands!= 0:
cnt += hands
money -= 100*hands
twef = money // 25
if twef != 0:
cnt += twef
money -= 25*twef
cnt += money
print(cnt)