| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
推了半天,水过了,64题纪念//============================================================================ // Name : main1045.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostream> #include <cmath> #include <stdio.h> using namespace std; int main() { double C, R, VS; int n; cin >> VS >> R >> C >> n; for(int i = 0; i < n; i++){ double W; cin >> W; double V2 = R*C*W*VS/(R*R*C*C*W*W+1)/sin(atan(1/R/C/W)); printf("%.3lf\n", V2); } //cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! return 0; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator