#31812: python 真。一行解 :)


wmouo (crazypanda)

學校 : 國立宜蘭高級商業職業學校
編號 : 178206
來源 : [42.71.9.84]
最後登入時間 :
2023-12-20 13:43:47
d063. 0 與 1 -- 板橋高中教學題 | From: [118.165.158.39] | 發表日期 : 2022-08-21 00:21

以下暴雷

 

 

提示1:輸入

 

 

 

 

 

 

 

 

 

 

 

 

 

提示2:xor

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

解答:

print(int(input())^1)
 
ZeroJudge Forum