結果
| 問題 | No.32 貯金箱の憂鬱 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-05-06 21:17:56 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 371 bytes | 
| コンパイル時間 | 453 ms | 
| コンパイル使用メモリ | 12,032 KB | 
| 実行使用メモリ | 10,496 KB | 
| 最終ジャッジ日時 | 2025-05-06 21:17:58 | 
| 合計ジャッジ時間 | 1,634 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 7 WA * 5 | 
ソースコード
import math def money(L, M, N): add_M= N // 25 remainder_N= math.floor(N % 25) add_L= (M + add_M) //4 remainder_M= math.floor(M % 4) remainder_L= math.floor((L + add_L) % 10) Total_remainder= remainder_L+remainder_M+remainder_N return Total_remainder def main(): L= int(input()) M= int(input()) N= int(input()) result= money(L, M, N) print(result) main()
