摘要: Language:反正切函数的应用Time Limit:1000MSMemory Limit:10000KTotal Submissions:12424Accepted:4490Description 反正切函数可展开成无穷级数,有如下公式(其中0 #includeint main(){ __int64 a,i; scanf("%I64d",&a); for(i = a+1 ; i >= 1 ; i--) { if((a*a+1)%i == 0) { printf("%I64d\n",a+a+i+(a*a+1)/i); break; } } 阅读全文
posted @ 2012-03-28 21:07 Felix_F 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Goldbach's ConjectureTime Limit:1000MSMemory Limit:65536KTotal Submissions:28052Accepted:10800Description In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture:Every even number greater than 4 can bewritten as the s 阅读全文
posted @ 2012-03-28 16:21 Felix_F 阅读(154) 评论(0) 推荐(0) 编辑