算法
回文(Palindrome)数字:判断一个数字是不是回文数字,不能使用另外的空间。
提示:
- 负数可以是回文数字吗?
- 如果转为字符串需要新分配空间
- 你也许想到了反转数字,但反转数字可能溢出,怎样处理这种情况?
1 2 3 4 5 6
| class Solution { public: bool isPalindrome(int x) { };
|
数学
阿呆和阿瓜比赛下军旗,两人水平相当。两人约定赛7局,先赢4局者胜。现在已经比了3局,阿呆胜了2局,阿瓜胜了1局。请问:阿呆获得最后胜利的概率有多少?
英语
1 2
| We can see _____ sun and _____ moon in _____ picture. A. a; the; the; B. the; a; the C. a; the; a D. the; the; the
|
Daily Practice 2016-09-20
原文:https://www.cnblogs.com/lijianming180/p/12268249.html