fork download
  1. n+len(str(n))+sum([int(i)for i in str(n)]if(n>=0)else[int(str(n)[:2])]+[int(i)for i in str(n)[2:]])
Runtime error #stdin #stdout #stderr 0.02s 9984KB
stdin
-123
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
NameError: name 'n' is not defined