
math
baladeer
CV菜鸟
展开
-
479. Largest Palindrome Product
Find the largest palindrome made from the product of two n-digit numbers.Since the result could be very large, you should return the largest palindrome mod 1337.Example:Input: 2Output:原创 2018-01-13 04:46:20 · 138 阅读 · 0 评论 -
50. Pow(x, n)
Implement pow(x, n).Example 1:Input: 2.00000, 10Output: 1024.00000Example 2:Input: 2.10000, 3Output: 9.26100class Solution {public: double myPow(double x, int n) {原创 2018-01-14 02:13:59 · 120 阅读 · 0 评论