結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | goto_isyuku |
提出日時 | 2017-05-26 06:47:49 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 106 ms |
コンパイル使用メモリ | 11,856 KB |
実行使用メモリ | 10,196 KB |
最終ジャッジ日時 | 2023-10-19 23:52:06 |
合計ジャッジ時間 | 1,231 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
ソースコード
p = 0 money = [1000, 100, 25, 1] m_cnt = [] for i in range(3): p += int(input()) * money[i +1] for i in range(4): m_cnt.append(p % money[i]) print(sum(p[1:-1]))