結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
![]() |
提出日時 | 2019-03-24 15:11:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 5,000 ms |
コード長 | 227 bytes |
コンパイル時間 | 330 ms |
コンパイル使用メモリ | 82,360 KB |
実行使用メモリ | 53,948 KB |
最終ジャッジ日時 | 2024-07-23 07:30:28 |
合計ジャッジ時間 | 1,484 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import mathL=int(input())M=int(input())N=int(input())total=L*100+M*25+NBc=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*1000print(Lc+Mc+Nc)