摘要:
问题: Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3. 阅读全文
摘要:
哪一方最终给对方留下4的倍数个石头则win,即想方设法的给对方留下4的倍数个石头。 例如: 9(B win) A:3 B:2(B取2,给对方余4,对方则lose) A:1 | 2 | 3 B:3 | 2 | 1(B win) 例如:9 (A win) A:1 (留8,4的2倍) B:1 | 2 | 阅读全文