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: 14834
- Wed Jun 19, 2002 3:51 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 14834
- Tue Jun 18, 2002 10:44 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 14834
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; } double max...
- Sat Jun 01, 2002 3:23 pm
- Forum: C
- Topic: itoa function
- Replies: 5
- Views: 3612
- Fri May 31, 2002 8:57 am
- Forum: C
- Topic: itoa function
- Replies: 5
- Views: 3612
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: 24956
I think you can explain it in this way: the ith number j in the input means the ith thing appears in the jth position during the history.Isn't it? And if you change sequence to another way: the ith number j in the sequence means thing j happen in the ith position during te history. So the first sequ...
- Tue May 14, 2002 3:39 am
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 9598
- Mon May 13, 2002 3:44 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 9598
oh,I finally know what's going on now. I haven't see the statement link about multiple input ouput formats just above the problem set in the web page.I suggest others to have a look at it before you start to solve the problems.It gave me such a big big big lesson!!! I hope others never do the foolis...
- Mon May 13, 2002 3:16 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 9598
- Mon May 13, 2002 9:50 am
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 9598
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(...