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 |
Re:到底是什么错啊??有高手能告诉我吗??谢谢啊In Reply To:Re:到底是什么错啊??有高手能告诉我吗??谢谢啊 Posted by:elf788544 at 2005-08-19 20:35:04 > #include<iostream> > #include<stdio.h> > #include<cmath> > using namespace std; > int main() > { > int n,i,test; > double R; > cin>>test; > for(i=1;i<=test;i++) > { > cin>>R>>n; > printf("Scenario #%d:\n%.3f\n\n",i,R*sin(acos(-1)/n)/(1+sin(acos(-1)/n))); > } > return 0; > } > 应该是这样的!!!!!!!!!! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator