結果

問題 No.32 貯金箱の憂鬱
ユーザー emqk5RBeemqk5RBe
提出日時 2019-09-03 13:05:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-30 13:35:47
合計ジャッジ時間 1,023 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,820 KB
testcase_01 AC 15 ms
7,868 KB
testcase_02 AC 15 ms
7,796 KB
testcase_03 AC 15 ms
7,824 KB
testcase_04 AC 15 ms
7,856 KB
testcase_05 AC 15 ms
7,860 KB
testcase_06 AC 16 ms
7,784 KB
testcase_07 AC 16 ms
7,788 KB
testcase_08 AC 16 ms
7,788 KB
testcase_09 AC 16 ms
7,820 KB
testcase_10 AC 16 ms
7,788 KB
testcase_11 AC 16 ms
7,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

m100x=int(input())
m25x=int(input())
m1x=int(input())

a_m25x=int(m1x/25)
m1x-=a_m25x*25

m25x+=a_m25x

a_m100x=int(m25x/4)
m25x-=a_m100x*4

m100x+=a_m100x

a_m1000x=int(m100x/10)
m100x-=a_m1000x*10    
print(m1x+m25x+m100x)
0