fork download
  1. p = float(int(input()) / 100 + 1)
  2. x = float(input())
  3. y = float(int(input()) / 100)
  4. S = x + y
  5. if p != 0:
  6. print(int(S * p), int((S * p - int((S * p) + 0.005) * 100))
  7. else:
  8. print(x, y * 100)
  9.  
Compilation error #stdin compilation error #stdout 0.01s 27912KB
stdin
13
179
0
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 125, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap_external>", line 735, in source_to_code
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "./prog.py", line 7
    else:
       ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.5/py_compile.py", line 129, in compile
    raise py_exc
py_compile.PyCompileError:   File "./prog.py", line 7
    else:
       ^
SyntaxError: invalid syntax

stdout
Standard output is empty