Search found 1 match

by nirupam
Fri Aug 27, 2010 5:38 am
Forum: Volume 3 (300-399)
Topic: 375 - Inscribed Circles and Isosceles Triangles
Replies: 19
Views: 5136

Re: 375

Here is my code.I think L,R,B is Ok.But i get wrong answer for sample input.
i/p : 0.263451 0.263451
o/p : 0.827653 instead of 0.827648
whats wrong in my code.Anyone can help me?

int main()
{
freopen("in.txt","r",stdin);
double B,H,R,SR,L;
int T;
scanf("%d",&T);
while(T--)
{
scanf("%lf%lf ...

Go to advanced search