• [1377] I Hate Math

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • There is a function: f(x) = 2x^5 + 3x^4 + 4x^3 + 5x^2 - kx. In short, your task is very simple: every time give you an integer k, calculate the minimun f(t), while 0<=t<=100.
  • 输入
  • For each case there is an integer k, k can be very large but I promise it is no more than the range of int.
  • 输出
  • For each case, print the minimun number for a given function, keep three decimal points please.
  • 样例输入
  • 0
    10
    100
    
  • 样例输出
  • 0.000
    -3.000
    -97.122
    
  • 提示
  • 来源
  • 小白菜
  • 操作

显示春菜