摘要: 题目:The sum of the squares of the first ten natural numbers is,12 + 22 + ... + 102 = 385The square of the sum of the first ten natural numbers is,(1 + ... 阅读全文
posted @ 2014-05-24 11:38 soul390 阅读(131) 评论(0) 推荐(0)
摘要: 题目:2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest positive number that... 阅读全文
posted @ 2014-05-24 11:21 soul390 阅读(119) 评论(0) 推荐(0)
摘要: 1 #include 2 using namespace std; 3 4 int main() { 5 bool isPalindromic (int num); 6 int res = 0; 7 8 for(int i = 100; i res)11 ... 阅读全文
posted @ 2014-05-24 09:08 soul390 阅读(130) 评论(0) 推荐(0)