fork download
  1. import math
  2. c, x, y, z, m, s, f, e, t = map(int, input().split())
  3. a = math.ceil((e + 1) * f / s) * m + t
  4. if c > x:
  5.    n = math.ceil((c - x) / z)
  6. else:
  7.    n = 0
  8. b = math.ceil((c + n * y) / s) * m
  9. print(min(a, b))
  10. Подробнее - на Znanija.com - https://z...content-available-to-author-only...a.com/task/33084911#readmore# your code goes here
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.7/py_compile.py", line 143, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "./prog.py", line 4
    if c > x:
    ^
IndentationError: unexpected indent

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.7/py_compile.py", line 147, in compile
    raise py_exc
py_compile.PyCompileError: Sorry: IndentationError: unexpected indent (prog.py, line 4)
stdout
Standard output is empty