結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2015-08-25 03:31:03 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 241 bytes |
コンパイル時間 | 133 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-23 02:07:04 |
合計ジャッジ時間 | 1,114 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
f = input() s = input() t = input() i = int(f) n = int(s) y = int(t) total = 100*i + 25*n + y import math sen = total % 1000 hyk = math.floor(sen/100) nij = math.floor((sen - 100*hyk)/25) ich = sen - 100*hyk - 25*nij print (hyk+nij+ich)