結果

問題 No.32 貯金箱の憂鬱
ユーザー moon17moon17
提出日時 2022-05-14 17:55:53
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 71,320 KB
最終ジャッジ日時 2023-09-30 09:49:55
合計ジャッジ時間 2,004 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
70,952 KB
testcase_01 AC 70 ms
71,288 KB
testcase_02 AC 71 ms
71,316 KB
testcase_03 AC 74 ms
71,152 KB
testcase_04 AC 70 ms
71,168 KB
testcase_05 AC 75 ms
71,192 KB
testcase_06 AC 71 ms
71,320 KB
testcase_07 AC 70 ms
71,232 KB
testcase_08 AC 69 ms
71,028 KB
testcase_09 AC 71 ms
71,156 KB
testcase_10 AC 71 ms
71,116 KB
testcase_11 AC 70 ms
70,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L = int(input())
M = int(input())
N = int(input())

S = 100*L + 25*M + 1*N
ans = 0
S -= (S//1000)*1000
ans += S//100
S -= (S//100)*100
ans += S//25
S -= (S//25)*25
ans += S

print(ans)
0