mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
14 lines
224 B
Python
14 lines
224 B
Python
def problem_p00007(input_data):
|
|
from math import ceil
|
|
|
|
debt = 100000
|
|
|
|
n = int(eval(input_data))
|
|
|
|
for _ in range(n):
|
|
|
|
tmp = ceil(debt * 1.05)
|
|
|
|
debt = ceil((tmp / 1000)) * 1000
|
|
|
|
return debt
|