I get WA for this problem.Who can help me?
[cpp]#include<iostream.h>
#include<math.h>
#include<stdio.h>
#define e 0.0000000000000001
int main()
{
double x,y,b,a,m;
while(1)
{
cin>>x>>y;
if((fabs(x)<e)&&(fabs(y)<e)) break;
m=x*x-sqrt(2)*x*y;
if(x<e||y<e||m<0) printf("INCORRECT INFORMATION ...
Search found 2 matches
- Thu May 06, 2004 4:59 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10649 - Danger Point
- Replies: 10
- Views: 3518
- Wed May 05, 2004 8:59 am
- Forum: Volume 106 (10600-10699)
- Topic: 10643 - Facing Problem With Trees
- Replies: 10
- Views: 7933
10643 - Facing Problem With Trees
Can anyone tell me how to solve this problem?Thanks.
Does it have a formula?
Does it have a formula?