結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-03-26 11:00:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 5,000 ms |
| コード長 | 332 bytes |
| コンパイル時間 | 296 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-23 07:30:17 |
| 合計ジャッジ時間 | 1,333 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
def main():
L, M, N = [int(input()) for _ in range(3)]
total = 100*L + 25*M + N
senen = total // 1000
total = total % 1000
hyakuen = total // 100
total = total % 100
nijuugoen = total // 25
total = total % 25
itien = total
print(hyakuen+nijuugoen+itien)
if __name__ == '__main__':
main()