ACM
  • 来源: | 浏览: 1782 | 评论: 3 | 时间: 2015-06-06 20:56:24
    Farmer John's cows enjoy reading books, and FJ has discovered that his cows produce more milk when they read books of a somewhat intellectual nature. He decides to update the barn library to replace all of the cheap romance novels with textbooks on algorithms and mathematics. Unfortunately, a shipment of these new books has fallen in the mud and their ISBN numbers are now hard to read.
  • 来源: | 浏览: 1678 | 评论: 1 | 时间: 2015-06-06 20:18:14
    Let x1, x2, ..., xm be real numbers satisfying the following conditions: POJ - 3066
    for some integers a and b (a > 0).
    Determine the maximum value of x1^p + x2^p + … + xm^p for some even positive integer p.
  • 来源: | 浏览: 5093 | 评论: 0 | 时间: 2013-08-02 23:43:20
    POJ1001 求高精度幂: 对数值很大、精度很高的数进行高精度计算是一类十分常见的问题。比如,对国债进行计算就是属于这类问题。现在要你解决的问题是:对一个实数R( 0.0 < R < 99.999 ),要求写程序精确计算 R 的 n 次方(Rn),其中n 是整数并且 0 < n <= 25。
最新评论