#1560: tips


1653373-9@g.puiching.edu.mo (P6D39藍芊羽)

School : No School
ID : 2938
IP address : [192.168.120.33]
Last Login :
2024-11-05 12:11:02
a474. 相反數 | From: [192.168.120.33] | Post Date : 2024-05-22 11:11

A=float(input())

b=0

if(A<0):

  b=abs(A)

else:

  b=A-A-A

  

if(b%1==0):

  print(int(b))

else:

  print(b)

  

 
ZeroJudge Forum