結果

問題 No.32 貯金箱の憂鬱
ユーザー w0mbatw0mbat
提出日時 2020-03-15 16:32:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 169 bytes
コンパイル時間 369 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,568 KB
最終ジャッジ日時 2023-09-30 13:51:00
合計ジャッジ時間 1,974 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,248 KB
testcase_01 AC 74 ms
71,380 KB
testcase_02 AC 74 ms
71,444 KB
testcase_03 AC 72 ms
71,484 KB
testcase_04 AC 73 ms
71,436 KB
testcase_05 AC 73 ms
71,252 KB
testcase_06 AC 72 ms
71,568 KB
testcase_07 AC 75 ms
71,552 KB
testcase_08 AC 73 ms
71,548 KB
testcase_09 AC 72 ms
71,440 KB
testcase_10 AC 73 ms
71,364 KB
testcase_11 AC 72 ms
71,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
L,M,N = map(int, sys.stdin.read().split())
n = L*100 + M*25 + N
n1000, n = divmod(n, 1000)
n100, n = divmod(n, 100)
n25, n1 = divmod(n, 25)
print(n100+n25+n1)
0