結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2019-01-03 22:40:22 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 252 bytes |
コンパイル時間 | 333 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 64,640 KB |
最終ジャッジ日時 | 2024-11-23 22:55:30 |
合計ジャッジ時間 | 1,548 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 12 |
ソースコード
inputs = [int(i) for i in input().split()] a = inputs[0] b = inputs[1] c = inputs[2] def calc(a, b, c): q1, mod1 = divmod(a, 25) b += q1 q2, mod2 = divmod(b, 4) c += q2 q3, mod3 = divmod(c, 10) return mod1 + mod2 + mod3 print(calc(a, b, c))