結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2019-03-24 15:08:41 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 230 bytes |
コンパイル時間 | 280 ms |
コンパイル使用メモリ | 82,512 KB |
実行使用メモリ | 54,040 KB |
最終ジャッジ日時 | 2024-10-02 08:28:43 |
合計ジャッジ時間 | 1,423 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 11 |
ソースコード
import math L=int(input()) M=int(input()) N=int(input()) total=L*100+M*25+N Bc=math.floor(total/1000) Lc=math.floor((total-Bc*1000)/100) Mc=math.floor((total-Bc*1000-Lc*100)/25) Nc=total-Lc*100-Mc*25-Bc*1000 print(Bc+Lc+Mc+Nc)