n = eval(input())
N = abs(n)
if n < 0:
a = -abs(N + 10)
b = -abs(N - 10)
c = -abs(N * 10)
else:
a = abs(N + 10)
b = abs(N - 10)
c = abs(N * 10)
print(N, a , b, c)
2023-09-30 19:17:04
n = eval(input())
N = abs(n)
if n < 0:
a = -abs(N + 10)
b = -abs(N - 10)
c = -abs(N * 10)
else:
a = abs(N + 10)
b = abs(N - 10)
c = abs(N * 10)
print(N, a , b, c)
下一篇:NKOJ8493 最大连续异或和