結果

問題 No.32 貯金箱の憂鬱
ユーザー Seha46041561Seha46041561
提出日時 2019-04-01 21:05:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-23 07:30:58
合計ジャッジ時間 959 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

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

#L = 100円  M = 25円  N = 1円

M = M + N // 25
N = N % 25

L += M * 25 // 100
M = M * 25 % 100 // 25

L = L % 10
print(L+M+N)
0