結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
chizuchizu
|
| 提出日時 | 2018-11-22 19:15:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 5,000 ms |
| コード長 | 228 bytes |
| コンパイル時間 | 191 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-23 07:19:09 |
| 合計ジャッジ時間 | 1,126 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
L = int(input())
M = int(input())
N = int(input())
O = 0
if N >= 25:
M += N // 25
N -= 25 * (N // 25)
if M >= 4:
L += M // 4
M -= 4 * (M // 4)
if L >= 10:
O += L // 10
L -= 10 * (L // 10)
print(N + M + L)
chizuchizu