Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:到底是什么错啊??有高手能告诉我吗??谢谢啊

Posted by elf788544 at 2005-08-19 20:35:04 on Problem 1799
In Reply To:到底是什么错啊??有高手能告诉我吗??谢谢啊 Posted by:smilezhen at 2005-08-19 14:16:22
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator