摘要:
#include <iostream>#include <math.h>using namespace std;int main() { double l,w,h,t,g=981,r,rs,rm; cin>>l>>h>>w; if(h <= l/2) { cout<<"butter"<<endl; return 0; } //求出来的t可能是无效数字,所以要防止2*h-l是负数 t = pow((2*h-l)/g, 0.5); r = 60 / w; rs = t / r; rm = 阅读全文
posted @ 2011-07-28 19:45
DOF_KL
阅读(162)
评论(0)
推荐(0)
浙公网安备 33010602011771号