03 2013 档案

摘要:设B0=1,当k>0时,定义这些Bi(i=0, 1,…, k)被称为伯努利数。按定义,自然得出:B1=-,B2=,B3=0,B4=-,B5=0,B6=,B7=0,B8=-,…。伯努利数是瑞士数学家雅各布·伯努利引入的数,出自于他的著作《猜度术》(1713)。除了B1外,当k为奇数时,Bk=0;当k为偶数时,B2, B6, B10,…是正分数;B4, B8, B12,…是负分数。雅各布·伯努利引入伯努利数的目的是解决所谓“等幂和”的问题:求Sk(n)=1k+2k+…+nk对于S1(n)=1+2+3+…+n=n(n+1)S2(n)=12+22+32+…+n2=n(n+1)(2n 阅读全文
posted @ 2013-03-30 23:55 姜楠 阅读(8888) 评论(0) 推荐(0)
摘要:The Grand DinnerTime Limit:5000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionProblem D The Grand DinnerInput... 阅读全文
posted @ 2013-03-23 00:38 姜楠 阅读(559) 评论(0) 推荐(0)
摘要:Problem C Add Again Input:Standard InputOutput:Standard OutputSummation of sequence of integers is always a common problem in Computer Science. Rather than computing blindly, some intelligent techniques make the task simpler. Here you have to find the summation of a sequence of integers. The sequenc 阅读全文
posted @ 2013-03-16 00:40 姜楠 阅读(275) 评论(0) 推荐(0)
摘要:Sum of Cubes Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 815 Accepted Submission(s): 182 Problem Description According to Goldbach’s conjecture... 阅读全文
posted @ 2013-03-15 00:02 姜楠 阅读(281) 评论(0) 推荐(0)
摘要:Problem B.Last Digit Background Give you a integer number N (1 2: #include 3: using namespace std; 4: const int maxn=101; 5: int sum[maxn]; 6: int myFun(int n){ 7: int ans=1; ... 阅读全文
posted @ 2013-03-03 18:31 姜楠 阅读(232) 评论(0) 推荐(0)