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. 一般步骤: 1、计算不用进 Read More
posted @ 2016-08-20 13:05 sunalive Views(93) Comments(0) Diggs(0)
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston Read More
posted @ 2016-08-20 11:32 sunalive Views(176) Comments(0) Diggs(0)