結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2025-05-06 21:15:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 365 bytes |
コンパイル時間 | 591 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2025-05-06 21:15:48 |
合計ジャッジ時間 | 1,802 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 12 |
ソースコード
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= input(int) M= input(int) N= input(int) result= money(L, M, N) print(result) main()