結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2021-06-14 21:42:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 399 bytes |
コンパイル時間 | 287 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-24 22:25:48 |
合計ジャッジ時間 | 1,358 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 1 |
ソースコード
L = int(input()) M = int(input()) N = int(input()) s = 0 f = 0 h = 0 G = L * 100 + M * 25 + N #print(G) for i in range(3): if G > 1000: s = G // 1000 G = G - (1000 * s) #print(G) elif G > 100: f = G // 100 G = G - (100 * f) #print(G) elif G > 25: h = G // 25 G = G - (25 * h) #print(G) print(int(G + h + f))