摘要:
原题: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 s... 阅读全文
posted @ 2015-12-09 16:03
Sparrow6963
阅读(52)
评论(0)
推荐(0)
摘要:
int reverse(int x) { int xx=x,y=0;//result int cnt=0,tmp=0; //cnt for digit bool flag=0; //nagative:1 if(x214748364)) //y==214748364&&xx>7 is not poss... 阅读全文
posted @ 2015-12-09 15:40
Sparrow6963
阅读(36)
评论(0)
推荐(0)
摘要:
经常为记不住整数范围苦恼,特在此记录一下:16位整数: -32768到3276732位整数: -2147483648到2147 483 647有符号的整数最高位是符号位 ,所以需要计算2的15次方、2的31次方。16位整数-2^15~2^15-132位整数-2^31~2^31-1 阅读全文
posted @ 2015-12-09 15:38
Sparrow6963
阅读(4764)
评论(0)
推荐(0)
浙公网安备 33010602011771号