結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | foumi |
提出日時 | 2019-04-04 13:03:26 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 16 ms / 5,000 ms |
コード長 | 169 bytes |
コンパイル時間 | 67 ms |
コンパイル使用メモリ | 10,732 KB |
実行使用メモリ | 7,984 KB |
最終ジャッジ日時 | 2023-09-30 13:29:21 |
合計ジャッジ時間 | 907 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,780 KB |
testcase_01 | AC | 15 ms
7,784 KB |
testcase_02 | AC | 15 ms
7,860 KB |
testcase_03 | AC | 16 ms
7,852 KB |
testcase_04 | AC | 16 ms
7,788 KB |
testcase_05 | AC | 15 ms
7,780 KB |
testcase_06 | AC | 16 ms
7,912 KB |
testcase_07 | AC | 15 ms
7,984 KB |
testcase_08 | AC | 15 ms
7,852 KB |
testcase_09 | AC | 15 ms
7,872 KB |
testcase_10 | AC | 15 ms
7,980 KB |
testcase_11 | AC | 15 ms
7,872 KB |
ソースコード
l = int(input()) m = int(input()) n = int(input()) lc = (l + ((m + n // 25) // 4)) % 10 mc = (m + n // 25) % 4 nc = n % 25 coins = lc + mc + nc print(coins)