oh,I got AC now.But it's just unbelievable!!!
I changed the the const value esp in my program from 1e-10 to 1e-9 and
it got AC.I think there something wrong with the judge!!It cost me so my time on this stupid problem!!
Search found 10 matches
- Sat Jun 22, 2002 6:23 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 26908
- Wed Jun 19, 2002 3:51 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 26908
- Tue Jun 18, 2002 10:44 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 26908
143,help me please!!
I've submitted for many times and always got WA.
Who can give me some test data?Thanks!
Here is my program:
[cpp]#include<iostream.h>
#include<math.h>
const double esp=1e-10;
double tri[3][2];
int stx,sty,edx,edy;
double min(const double x1,const double x2)
{
return x1-x2<esp ? x1 : x2 ...
Who can give me some test data?Thanks!
Here is my program:
[cpp]#include<iostream.h>
#include<math.h>
const double esp=1e-10;
double tri[3][2];
int stx,sty,edx,edy;
double min(const double x1,const double x2)
{
return x1-x2<esp ? x1 : x2 ...
- Sat Jun 01, 2002 3:23 pm
- Forum: C
- Topic: itoa function
- Replies: 5
- Views: 4083
- Fri May 31, 2002 8:57 am
- Forum: C
- Topic: itoa function
- Replies: 5
- Views: 4083
itoa function
I used itoa function in my porgram and got compiling error.
The error message is: implicit declaration of function "int itoa(...)''
What does this mean?
The error message is: implicit declaration of function "int itoa(...)''
What does this mean?
- Mon May 27, 2002 11:53 am
- Forum: Volume 1 (100-199)
- Topic: 111 - History Grading
- Replies: 135
- Views: 37005
- Tue May 14, 2002 3:39 am
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16393
- Mon May 13, 2002 3:44 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16393
- Mon May 13, 2002 3:16 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16393
- Mon May 13, 2002 9:50 am
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16393
problem 110 for help
I always got wrong answer.help me please!here is my program
thanks in advance
#include<iostream.h>
//#include<fstream.h>
#include<string.h>
//ifstream cin("uva110.in");
//ofstream cout("uva110.out");
const int maxn=10;
int n;
int order[maxn][maxn];
void gonext()
{
while(cin.peek()==' '||cin ...
thanks in advance
#include<iostream.h>
//#include<fstream.h>
#include<string.h>
//ifstream cin("uva110.in");
//ofstream cout("uva110.out");
const int maxn=10;
int n;
int order[maxn][maxn];
void gonext()
{
while(cin.peek()==' '||cin ...