摘要:
问题描述 解决方案 cpp class Solution { public: //考虑溢出情况 int myAtoi(string str) { long long int lli=atoll(str.c_str()); if(lli 0&&lli INT_MAX) lli=INT_MAX; if( 阅读全文
posted @ 2016-08-22 23:50
弦断
阅读(113)
评论(0)
推荐(0)
摘要:
问题描述 解决方案 阅读全文
posted @ 2016-08-22 23:15
弦断
阅读(122)
评论(0)
推荐(0)
摘要:
问题描述 解决方案 阅读全文
posted @ 2016-08-22 14:16
弦断
阅读(105)
评论(0)
推荐(0)
摘要:
问题描述 解决方案 非递归方式 递归方式 阅读全文
posted @ 2016-08-22 14:06
弦断
阅读(111)
评论(0)
推荐(0)
摘要:
问题描述 解决方案 cpp class Solution { public: bool isPowerOfThree(int n) { if(n 阅读全文
posted @ 2016-08-22 10:21
弦断
阅读(124)
评论(0)
推荐(0)
摘要:
问题描述 解决方案 位运算 bitset 阅读全文
posted @ 2016-08-22 10:02
弦断
阅读(109)
评论(0)
推荐(0)
浙公网安备 33010602011771号