a474: 相反數
Tags :
Accepted rate : 122人/136人 ( 90% ) [非即時]
評分方式:
Strictly

最近更新 : 2021-12-06 14:49

Content

請設計一款程序,用戶給定一個數值,程序輸出它的相反數。

Input

一個數值A

Output

A的相反數

Sample Input #1
0.6
Sample Output #1
-0.6
Sample Input #2
-10000
Sample Output #2
10000
Sample Input #3
0
Sample Output #3
0
測資資訊:
記憶體限制: 64 MB
不公開 測資點#0 (50%): 1.0s , <1K
不公開 測資點#1 (50%): 1.0s , <1K
Hint :
Tags:
出處:
[管理者:
kichan@g.pui... (陳嘉賢CHAN KA IN)
]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」