結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2025-05-06 21:13:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 365 bytes |
コンパイル時間 | 413 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2025-05-06 21:13:50 |
合計ジャッジ時間 | 2,016 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 12 |
ソースコード
import math def money(L, M, N): add_M= N // 25 remainder_N= math.float(N % 25) add_L= (M + add_M) //4 remainder_M= math.float(M % 4) remainder_L= math.float((L + add_L) % 10) Total_remainder= remainder_L+remainder_M+remainder_N return Total_remainder def main(): L= input(int) M= input(int) N= input(int) result= money(L, M, N) print(result) main()