#49970: C++提示


ck1090932@gl.ck.tp.edu.tw (陳邦仁)


C++使用者其實可以這樣解,假設輸入int a,b

寫 a XOR b 要寫 !!a^!!b

寫 a AND b 要寫 !!a&!!b

寫 a OR b 要寫 !!a|!!b