結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2020-07-22 14:47:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 385 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-11 19:54:46 |
合計ジャッジ時間 | 1,046 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 9 |
ソースコード
# coding:utf-8 L, M, N = [int(input()) for i in range(3)] L_m = L * 100 M_m = M * 25 N_m = N * 1 goukei_N = N_m nokori_N = (N_m % 25) * 1 goukei_M = M_m + (N_m - nokori_N) nokori_M = goukei_M % 100 goukei_L = L_m + (M_m - nokori_M * 25) nokori_L = goukei_L % 1000 ans_N = nokori_N ans_M = nokori_M // 25 ans_L = nokori_L // 100 ans_total = ans_N + ans_M + ans_L print(ans_total)