摘要: 1.题目描述 mplement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative integer. 求开方,输出为整数型 2.题目分析 python自带sqrt 阅读全文
posted @ 2018-02-03 21:41 vlice 阅读(111) 评论(0) 推荐(0)
摘要: 1:题目描述 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3, 阅读全文
posted @ 2018-02-03 16:14 vlice 阅读(99) 评论(0) 推荐(0)